previous | start | next


TH

<TH
ALIGN=CENTER|LEFT|RIGHT|JUSTIFY
BACKGROUND=url
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CLASS=type
COLSPAN=n
ID=value
NOWRAP
ROWSPAN=n
STYLE=css1 properties
VALIGN=TOP|MIDDLE|BOTTOM|BASELINE
WIDTH=n>

Creates a row or column heading in a table. The element is similar to the TD element but emphasizes the text in the cell to distinguish it from text in TD cells. The end-tag is optional.

ALIGN=CENTER|LEFT|RIGHT|JUSTIFY
Specifies the alignment of text in the cell. The default is CENTER.
CENTER The text in the header is aligned in the center of the cell.
LEFT The text in the header is aligned with the left margin.
RIGHT The text in the header is aligned with the right margin.
JUSTIFY The text in the header is justified.
BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell.
BGCOLOR=color
Sets background color. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLOR=color
Sets border color. Must be used with the = HREF="slide.htm"#htmlref2_0001000114004704>BORDER= attribute of the TABLE element. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT=. Must be used with the = HREF="slide.htm"#htmlref2_0001000114004704>BORDER= attribute of the TABLE element. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK=. Must be used with the = HREF="slide.htm"#htmlref2_0001000114004704>BORDER= attribute of the TABLE element. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
CLASS=type
Indicates the class to which the element belongs.
COLSPAN=n
Indicates the number of table columns this cell spans.
ID=value
Specifies a unique value for the element over the document.
NOWRAP
Prevents word wrapping within the cell. Lines of text appear as given in the HTML document.
ROWSPAN=n
Indicates the number of table rows this cell spans.
STYLE=css1 properties
Specifies style information.
VALIGN=TOP|MIDDLE|BOTTOM|BASELINE
Specifies the vertical alignment of text in the table. The default is TOP.
TOP Text is aligned with the top of each cell.
MIDDLE Text is aligned in the middle of each cell.
BOTTOM Text is aligned with the bottom of each cell.
BASELINE Text in adjoining cells in a row is aligned along a common baseline.
WIDTH=n
Specifies the width of the table heading, in columns.

This element is valid only within a row in a table, that is, you must use a TR element before using TH. All attributes are optional.



previous | start | next