topical media & game development

talk show tell print

basic-web-html-04-ch04-eg02.htm / htm



  <?xml version="1.0" ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  
  <head>
    <title>Using the &lt;th&gt; element for table headings</title>
  </head>
  
  <body>
  <table border="1">
  
    <tr>
      <th></th>
      <th>Outgoings ()</th>
      <th>Receipts ()</th>
      <th>Profit ()</th>
    </tr>
  
    <tr>
      <th>Quarter 1 (Jan-Mar)</th>
      <td>11200.00</td>
      <td>21800.00</td>
      <td><b>10600.00</b></td>
    </tr>
  
    <tr>
      <th>Quarter 2 (Apr-Jun)</th>
      <td>11700.00</td>
      <td>22500.00</td>
      <td><b>10800.00</b></td>
    </tr>
  
    <tr>
      <th>Quarter 3 (Jul - Sep)</th>
      <td>11650.00</td>
      <td>22100.00</td>
      <td><b>10450.00</b></td>
    </tr>
  
    <tr>
      <th>Quarter 4 (Oct - Dec)</th>
      <td>11850.00</td>
      <td>22900.00</td>
      <td><b>11050.00</b></td>
    </tr>
  </table>
  </body>
  </html>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.