thead

The thead HTML element represents the block of rows that consist of the column labels (headers) for the parent table element.

Syntax

HTML

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

Attributes

Global

CSS

thead {
    border-color: inherit;
    display: table-header-group;
    vertical-align: middle;
}

Examples

CSS

Internal

caption

col

colgroup

table

tbody

td

tfoot

th

tr

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu