User`s guide
Use an HTML Cleanup Program
13-97
Use an HTML Cleanup Program
You can use an HTML cleanup program such as HTML Tidy to fix many issues and
to identify issues you need to address manually. For a description of requirements for
HTML content that you can append, see “HTML Code Requirements for DOM Reports”
on page 13-101 .
Use HTML Tidy to Fix HTML Code
You can use the HTML Tidy program to fix HTML content so that it meets the
requirements for appending to a DOM report. This example uses a batch file to fix the
HTML content.
1
Copy the following HTML content into a text editor such as Wordpad.
<html>
<head>
<title>Hi there</title>
</head>
<body>
<p>This is a page
a simple page with a simple table
<style>
table, th, td {
border: 1px solid black;
}
</style>
<table style="width:50%">
<tr>
<td><b>Name</B></td>
<td><b>Age</b></td>
<td><b>Occupation</b></td>
</tr>
<tr>
<td>Joe Smith</td>
<td>40</td>
<td>Plumber</td>
</tr><tr>
<td>Sue Jones</td>
<td>33</td>
<td>Scientist</td>
</tr>
<tr>