Example 3-4: Output of using the Tidy utility on an HTML file

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />
    <title>
      Frequently Asked Questions
    </title>
<style type="text/css">
       td {font-family:verdana,arial; font-size:18;
           background-color:#f7f7e7; color:#000000 }
       th,table {font-family:verdana,arial; font-size:18;
           background-color:#cccc99; color:#336699 }
    
</style>
  </head>
  <body>
    <center>
      <table border="0">
        <tr>
          <th>
            Question
          </th>
          <th>
            Difficulty
          </th>
        </tr>
        <tr>
          <td>
            <table border="0" cellspacing="0">
              <tr>
                <td>
                  <img src="images/Question.gif" />
                </td>
                <td valign="middle">
                  To be or not to be, this is the question.
                </td>
              </tr>
              <tr>
                <td>
                  <img src="images/Answer.gif" />
                </td>
                <td valign="middle">
                  Not sure of the answer but it goes here.
                </td>
              </tr>
            </table>
          </td>
          <td>
            <img align="absmiddle" src="images/Advanced.gif" />
          </td>
        </tr>
      </table>
    </center>
  </body>
</html>