W3C home > Mailing lists > Public > www-validator@w3.org > January 2009

Add Subject Here

From: Graham Brown <graham_a_brown@hotmail.com>
Date: Sat, 24 Jan 2009 10:51:02 -0000
Message-ID: <BLU107-DS23308EB8178A5824A6991D8CC0@phx.gbl>
To: <www-validator@w3.org>
I appear to be having problems with the validator. I am currently wrtiting a new textbook for IGCSE ICT and have the folllowing code in an example. It appears to be structured correctly yet the validator fails it?
Help please.

Regards
Graham

<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Task 15.20 by your name --> 
  <head>
    <title>Task 15.20</title>
  </head>
  <body>
    <table border="1">
      <caption>Fruit sales</caption>
      <thead>
        <tr>
          <th>Fruit</th>
          <th>Price</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Apple</td>
          <td>$1230</td>
        </tr>
        <tr>
          <td>Orange</td>
          <td>$780</td>
        </tr>
        <tr>
          <td>Pear</td>
          <td>$240</td>
        </tr>
        <tr>
          <td>Banana</td>
          <td>$4235</td>
        </tr>
        <tr>
          <td>Lemon</td>
          <td>$75</td>
        </tr>
      </tbody>
      <tfoot>
        <tr>
          <td>Total</td>
          <td>$6560</td>
        </tr>
      </tfoot>
    </table>
  </body>
</html>
Received on Saturday, 24 January 2009 11:11:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT