ð

5 Repeating Header and Footer

  1. Make the first row of the table into a table head.
    <thead>  
      <tr> 
        <td> ID </td>
        <td> Sev </td>
        <td> Owner </td>
        <td> Summary </td>
      </tr>
    </thead>
  2. After the table head, make a footer.
    <tfoot>
    <tr> <td colspan="4">We can put anything we wish here.</td>
    </tr>
    </tfoot>
  3. Give the THEAD and TFOOT tags a special meaning by adding these rules to the print style sheet:
    thead	{ display: table-header-group; }
    
    tfoot	{ display: table-footer-group; }