Version-//W3C//DTD HTML 4.01//EN
ElementTHEAD
Purposetable header
DescriptionThe THEAD element defines the head of a TABLE.
Start tagRequired <THEAD>
Attributes
NameTypeDefaultComment
align( left | center | right | justify | char )#IMPLIEDhorizontal alignment of cell contents
char CDATA #IMPLIEDa single character from ISO10646 (see RFC1815); alignment char, e.g. char=':'
charoff CDATA #IMPLIEDnn for pixels or nn% for percentage length; offset for alignment char; horizontal alignment in cells
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
valign( top | middle | bottom | baseline )#IMPLIEDvertical alignment in cells
Content( TR )+
End tagOptional </THEAD>
Referenced in TABLE
Example
SourceAppearance
<TABLE frame="box" rules="groups" summary="The Results of the Big XHTML Playoffs.">
<CAPTION>The XHTML Playoffs</CAPTION>
<COLGROUP align="center">
<COL>
<COL style="background-color: #FFFFAA;">
<COL style="background-color: #BDFCC9;">
<THEAD>
<TR>
<TH>Game
<TH>Elements
<TH>Entities
<TFOOT style="background-color: #05FFFF;">
<TR>
<TD colspan="3">Entities Win!
<TBODY>
<TR><TD>1<TD>3<TD>0
<TR><TD>2<TD>5<TD>4
<TR><TD>3<TD>2<TD>8
<TR><TD>4<TD>7<TD>9
<TR><TD>5<TD>0<TD>1
</TABLE>
The XHTML Playoffs
Game Elements Entities
Entities Win!
130
254
328
479
501
Save this page to any social bookmarking site! Share · Search · Market · Directory
2013-04-15 · John December · Contact · Terms of Use © December Communications, Inc.