Easy Tutorial
❮ Av Event Timeupdate Tag Header ❯

HTML <th> headers Attribute

HTML <th> Tag

Example

Specifies the <th> elements associated with each header cell:


Browser Support

The headers attribute has no visual effect in regular web browsers but can be used by screen readers.


Definition and Usage

The headers attribute specifies one or more header cells a header cell is related to.


Differences Between HTML 4.01 and HTML5

The headers attribute is new for the <th> tag in HTML5.


Syntax

Attribute Values

Value Description
header_id Specifies a list of ids (separated by spaces) of one or more header cells the header cell is related to.

❮ Av Event Timeupdate Tag Header ❯