Name

HEADERS — NN n/a IE n/a HTML 4

Synopsis

HEADERS=”cellIDList"

Optional

Points to one or more TH or TD elements that act as column or row headers for the current table cell. The assigned value is a space-delimited list of ID attribute values that are assigned to the relevant TH elements. A nonvisual browser could read the cell’s header before the content of the cell to help listeners identify the nature of the cell content.

Example

<TR>
<TH id="hdr1">Product Number
<TH id="hdr2">Description
</TR>
<TR>
<TH headers="hdr1">0392
<TH headers="hdr2">Round widget
</TR>

Value

A space-delimited list of case-sensitive IDs assigned to cells that act as headers to the current cell.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.