Example 6-16: Tidyied version of the Yahoo Quotes HTML page

<?xml version = '1.0' encoding = 'UTF-8'?>
<html>
   <head>
      <meta content="HTML Tidy, see www.w3.org" name="generator"/>
      <title>Yahoo! Finance - (7) ORCL ... CSCO</title>
   </head>
   <body>
      <div style="text-align: center">
         <!-- Ads, Banner, and other preceding HTML removed for brevity -->
         <!-- Time of quotes is value of the <p> element preceding <table> -->
         <p>Sun Apr 16 2:42am ET - U.S. Markets Closed.</p>
         <!--
          | Stock quotes start with the <table> whose first <th> header cell
          | in the first <tr> row has the value "Symbol"
          +-->
         <table cellspacing="0" cellpadding="1" border="1">
            <tr bgcolor="#dcdcdc">
               <th nowrap="">Symbol</th>
               <th colspan="2" nowrap="">Last Trade</th>
               <th colspan="2" nowrap="">Change</th>
               <th nowrap="">Volume</th>
               <th nowrap="">More Info</th>
            </tr>
            <!-- Stock Quote *data* starts in the 2nd <tr> row after headers -->
            <tr align="right">
               <!-- Ticker symbol is the value of the first <td> cell -->
               <td align="left" nowrap="">
                  <a href="/q?s=ORCL&#38;d=t">ORCL</a>
               </td>
               <td align="center" nowrap="">Apr 14</td>
               <!-- Price is the value of third <td> cell -->
               <td nowrap="">
                  <b>86.188</b>
               </td>
               <td style="color: #ff0020" nowrap="">+0.38</td>
               <td style="color: #ff0020" nowrap="">+0.44%</td>
               <td nowrap="">15,357,300</td>
               <td align="center" nowrap="">
               </td>
            </tr>
            <!-- Other identical "Stock Quote" <TR> rows removed for brevity -->
         </table>
         <!-- Other stuff removed -->
      </div>
   </body>
</html>