<THEAD>
The THEAD element is a completely optional element which defines the header
section of the TABLE element. The table head contains a varying number of TR
elements.
This element may be used in combination with the TBODY and TFOOT elements
which define a table body and footer information respectively. This element
is completely optional.
Attributes
Attribute |
Description |
ID |
Identifies this tag to reference in script (program code) |
CLASS |
Define the class used to render this element (defined by a style sheet) |
TITLE |
A title that is associated with the element (displayed as a tooltip in Internet Explorer) |
ALIGN |
Specifies the default horizontal alignment for all table data (TD) cells
found in the THEAD section. |
VALIGN |
Specifies the default vertical alignment for all table data (TD) cells
found in the THEAD section. |
STYLE |
Defines an inline style using cascading style sheet (CSS) information. |
|
Example
<TABLE>
<THEAD>
<TR><TD> ...header information...</TD></TR>
</THEAD>
<TFOOT>
<TR><TD> ...footer information...</TD></TR>
</TFOOT>
<TBODY>
<TR><TD> ...first row of block one data...</TD></TR>
<TR><TD> ...second row of block one data...</TD></TR>
</TBODY>
<TBODY>
<TR><TD> ...first row of block two data...</TD></TR>
<TR><TD> ...second row of block two data...</TD></TR>
<TR><TD> ...third row of block two data...</TD></TR>
</TBODY>
</TABLE>
Renders As:
...header information... |
...footer information... |
...first row of block one data... |
...second row of block one data... |
...first row of block two data... |
...second row of block two data... |
...third row of block two data... |
Compatibility
HTML 4.01
|