Specify the <th> element each header cell is related to:
The headers attribute specifies one or more header cells a header cell is related to.
Attribute | |||||
---|---|---|---|---|---|
headers | Yes | Yes | Yes | Yes | Yes |
The headers attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
The headers attribute is new for the <th> tag in HTML5.
Value | Description |
---|---|
header_id | Specifies a space-separated list of id's to one or more header cells the header cell is related to |