HTML Elements and Attributes
Rich content is expressed using a limited set of HTML elements and attributes. In the GUI and Web interface, rich content is applied using the toolbar buttons; however, HTML source can be copied and pasted into rich content fields. In the CLI and CSS files, rich content is applied and styles are defined using the HTML elements and attributes. Detailed information about CSS and HTML is beyond the scope of this guide. For more information, browse to:
* 
To use rich content from a Web page, paste the Web page content in Microsoft Word. Copy this source content from Microsoft Word and paste it in the rich content field. This ensures that the formatted text and images are preserved in the rich content fields when using the PTC RV&S client GUI.
Element
Attributes
<!-- MKS HTML -->
Mandatory element that prefaces all elements in a rich content field. Other comments are removed.
<h1> to <h6>
align
<p>
style, align
<br>
<hr>
size, width
<ol>, <ul>, <li>
style
<img
src, border, alt, align, hspace, vspace, height, width, style
<a>
href, title, onclick
For item links, href is:
mks:///item?itemid=<itemID>
where <itemID> is the ID of the item you want to link to.
For attachment links, href is:
mks:///item/field?fieldid=<AttachmentField>&attachmentname=<attachment>
where <AttachmentField> is the name of the attachment field containing the attachment and <attachment> is the name of the attachment you want to link to.
<span>
style
<font>
style, color
<div>
style, align
<blockquote>
<strong>
Converted to <b>.
<b>
<i>
<code>
<em>
Converted to <i>.
<strike>
<del>
Converted to <strike>.
<pre>
<table>
style, align, border, width, cellpadding, cellspacing, summary, frame, rules, bgcolor, background
<tbody>
<tr>
style
<td>
style, rowspace, align, height, width, bgcolor, valign, background
<caption>
* 
For any elements that deal with size units, the attributes can only be specified as values in pixels or points. Values in inches cannot be specified.
Was this helpful?