HTML headers attribute
Example
Specify the element associated with each header cell:
| Name | |
|---|---|
| Firsname | Lastname |
Try it »
Browser support





The headers attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
Definition and Usage
The headers attribute specifies one or more header cells associated with a header cell.
Differences between HTML 4.01 and HTML5
The headers attribute is a new attribute for the tag in HTML5.
HTML Tag