Attribute of <THEAD> Tag
Attribute of <THEAD> Tag
ALIGN
Specifies how text within the table header will line up with the edges of the table cells, or if ALIGN=CHAR, on a specific character (the decimal point).
Example:<TR>
<THEAD>
<TH><B>Tutorial</B></TH>
<TH>
<IMG SRC="logo.gif" ALT="Cs-tutorial" BORDER=0>
</TH>
</THEAD>
</TR>
Possible Values
LEFT, RIGHT, CENTER, JUSTIFY, CHAR
CHAR
Specifies the character on which cell contents align, if ALIGN="CHAR". If you omit CHAR=, the default value is the decimal point in the specified language.
Example:<THEAD ALIGN="CHAR" CHAR=",">
Possible Values
Any Character .
CHAROFF
Specifies the number of characters from the left at which the alignment character appears.
Example:<THEAD ALIGN="CHAR" CHAR="," CHAROFF="7">
Possible Values
Number of Character.
CLASS
Indicates which style class applies to the <THEAD> element.
Example:<THEAD CLASS="dkm">
Possible Values
Any Class Name.
ID
Assigns a unique ID selector to an instance of the <THEAD> tag. When you then assign a style to that ID selector, it affects only that one instance of the <THEAD> tag.
Example:<THEAD ID="dkm">
Possible Values
Any ID Name.
STYLE
Specifies Style Sheet commands that apply to the contents between the <THEAD> tags.
Example:<THEAD STYLE="background: red">
Possible Values
CSS Property with Value.
TITLE
Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the table head.
Example:<THEAD TITLE="Table Heading">
Possible Values
Any Text Message.
VALIGN
Aligns the contents of the table header with respect to the top and bottom edges of the header container.
Example:<THEAD ALIGN=LEFT VALIGN=TOP>
Possible Values
TOP, MIDDLE, BOTTOM, BASELINE