headers Attribute


 

Where to use the headers Attribute

  • As Type IDREFS:
    headers is declared on the elements: th, td

Description

The headers attribute specifies a space-separated list of the id attributes of those table cells which act as headers for the current cell.

This information may be used by assistive technologies to aid the user in interpretation of the table. For example, screen readers may speak the names of the headers for each cell prior to the cell's content.

For more information, see *HTML 4.01 - Associating header information with data cells.

See also the scope, axis and abbr attributes.

Any given table will usually use either a headers or a scope technique for assigning headings to cells, but not both.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Attribute Index (XHTML 1.1) > headers Attribute (XHTML 1.1)