User`s guide
HTML Code Requirements for DOM Reports
13-101
HTML Code Requirements for DOM Reports
In this section...
“XML-Parsable HTML Code” on page 13-101
“Supported HTML Elements and Attributes” on page 13-101
“Supported HTML CSS Style Attributes for All Elements” on page 13-103
“Support for HTML Character Entities” on page 13-104
XML-Parsable HTML Code
The HTML content that you append to a DOM report must be XML parsable. HTML
content that is XML parsable complies with the rules for properly formed XML, such as:
• Include a closing tag for all elements.
• Use the lower case for the opening and closing (start and end) tags of an element. For
example, use <p> and </p> for a paragraph element, not <P> and </p>.
• Nest elements properly. If you open an element inside of another element, close that
first element before you close the containing element.
• Enclose attribute values with quotation marks. For example, use <p
align="center"></p>.
For details, see the W3Schools summary of XML rules at www.w3schools.com/xml/
xml_syntax.asp.
Tip You can use the HTML Tidy program to ensure that your HTML file is XML
parsable. For details, see “Use an HTML Cleanup Program” on page 13-97.
Supported HTML Elements and Attributes
In HTML content that you append to a DOM report, you can use these HTML elements
and attributes.
HTML Element Attributes
a class, style, href, name
b class, style