TH - Header cell

Appearance: <TH> [</TH>]
Attributes: ROWSPAN=n, COLSPAN=n, NOWRAP, ALIGN=left|right|center, VALIGN=top|middle|bottom, WIDTH=n, HEIGHT=n
Contents: H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS as well as TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text.
May occur in: TR.

Like the TD tag, a TH is used for a table cell. However, TH should be used when the cell's contents is a table heading, not a data cell. Typically this is done when the contents of the cell is a label for a row or column in the table.

See the section on TD for an explanation of the various attributes.

For an example on how to construct tables, please see the section on the TABLE tag.

Notes:


Web Design Group
Reference index ~ Wilbur index ~ Tag overview ~ Feedback

Copyright © 1997 Arnoud "Galactus" Engelfriet.