1. Computing

Discuss in my forum

<thead></thead>

By , About.com Guide

THEAD description:

The THEAD tag defines the rows in an HTML table that are part of the header of that table. Most browsers don't style the rows differently in any way, but you can use style sheets to highlight them if you like.

THEAD Web Browser Support:

HTML Versions

THEAD Attributes:

THEAD End Tag:

</thead> optional, REQUIRED in XHTML

Contents:

Table rows. The following tags are valid within the THEAD tag:
tr

THEAD Valid Context:

The THEAD tag is valid within the following tags:
table

THEAD Usage:

Table with a Footer

<table border width="200">
  <thead>
    <tr>
      <td>column 1 part of the header</td>
      <td>column 2 part of the header</td>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td colspan="2">this is the body row</td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td>column 1 part of the footer</td>
      <td>column 2 part of the footer</td>
    </tr>
  </tfoot>
</table>

THEAD Special Notes:

  • Long tables can be divided into sections to give more definition to the table. You can then use style sheets to add special styles to the various sections of the table.

More THEAD Information:

©2013 About.com. All rights reserved.