1. Home
  2. Computing & Technology
  3. Web Design / HTML

<thead></thead>

By Jennifer Kyrnin, About.com Guide

<thead> description:

The <thead> element defines the rows that are part of the head of the table.

<thead> Web Browser Support:
<thead> Attributes:
<thead> End Tag:
</thead> optional
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 thead
    <table border width="200">
    <thead>
    <tr><td>
    column 1 in the header row
    </td><td>
    column 2 in the header row
    </td></tr>
    </thead>
    <tbody>
    <tr><td colspan="2">this is the body row</td></tr>
    </tbody>
    </table>
<thead> Special Notes:
  • Long tables can be divided into sections to give more definition to the table.
More <thead> Information:

Return to XHTML element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.