 |
|
| TH - table heading |
|
| Description |
|
The TH tag specifies a table cell whose contents are usually displayed in a bolder font than those of regular table cells. The intent of the TH tag is that you use it for column or row headings. |
|
| Syntax |
|
<TH ALIGN="center|right|left" VALIGN="baseline|bottom|middle|top" BGCOLOR="color" COLSPAN="value" ROWSPAN="value" HEIGHT="pixelHeight" WIDTH="pixelWidth" NOWRAP="value">...</TH> |
|
| Attributes |
|
ALIGN specifies the horizontal placement of the contents of the cell:
- CENTER centers the content within the cell.
- LEFT aligns the content within the cell to the left (the default).
- RIGHT aligns the content within the cell to the right.
|
VALIGN specifies the vertical placement of the content in the cell:
- BASELINE aligns the content with the cell's baseline.
- BOTTOM aligns the content with the cell's bottom.
- MIDDLE centers the content within the cell (the default).
- TOP aligns the content with the cell's top.
|
BGCOLOR specifies the default color of the background of the table cell. |
COLSPAN specifies the number of columns the cell spans. Give the number as an integer. |
ROWSPAN specifies the number of rows the cell spans. Give the value as an integer. |
HEIGHT specifies the suggested height of the table cell, in pixels. |
WIDTH specifies the suggested width of the table cell, in pixels. |
NOWRAP specifies that the lines within a cell cannot be broken (that is, they do not wrap onto the next line). |
|
|