Menu Samaritan's Purse

TH

The th element represents a header cell in a table.

SYNTAX

HTML

<th attribute-name="attribute-value"></th>

ATTRIBUTES

Global

NAME VALUE DESCRIPTION
abbr string Alternative label to use for the header cell when referencing the cell in other contexts.
colspan positive integer Number of columns that the cell is to span
headers IDREFS The headers for this cell
rowspan non-negative integer Number of rows that the cell is to span
scope auto | row | col | rowgroup | colgroup Specifies what set of cells the th element applies to

CSS

th {
    display: table-cell;
    font-weight: bold;
    text-align: center;
    vertical-align: inherit;
}

EXAMPLES

ABBR

COLSPAN

HEADERS

ROWSPAN

SCOPE

CSS

INTERNAL

caption

col

colgroup

table

tbody

td

tfoot

thead

tr

EXTERNAL

Web Hypertext Application Technology Working Group (WHATWG)