Export (0) Print
Expand All
Expand Minimize

2.2.12 [HTML] Section 11.2.6, Table cells: The TH and TD elements


The specification states:

axis = cdata [CI] 

This attribute may be used to place a cell into conceptual categories that can be 
considered to form axes in an n-dimensional space. User agents may give users 
access to these categories (e.g., the user may query the user agent for all cells 
that belong to certain categories, the user agent may present a table in the form 
of a table of contents, etc.). Please consult the section on categorizing cells for 
more information. The value of this attribute is a comma-separated list of category 

All Document Modes (All Versions)

The axis attribute does not affect the presentation or categorization of a TD or TH element; the attribute is ignored.


The specification states:

abbr = text [CS] 

This attribute should be used to provide an abbreviated form of the cell's content, 
and may be rendered by user agents when appropriate in place of the cell's content. 
Abbreviated names should be short since user agents may render them repeatedly. For 
instance, speech synthesizers may render the abbreviated headers relating to a 
particular cell before rendering that cell's content.

All Document Modes (All Versions)

The value of abbr is not rendered in place of the content of the cell.


The specification states:

Table cells may contain two types of information: header information and data. This 
distinction enables user agents to render header and data cells distinctly, even in 
the absence of style sheets. For example, visual user agents may present header 
cell text with a bold font. Speech synthesizers may render header information with 
a distinct voice inflection.

All Document Modes (All Versions)

Header cell text is rendered in a bold font and centered by default. Data cell text is rendered in a normal font and aligned left by default.


The specification states:

User agents must render either the contents of the cell or the value of the abbr 
attribute. For visual media, the latter may be appropriate when there is 
insufficient space to render the full contents of the cell. For non-visual media 
abbr may be used as an abbreviation for table headers when these are rendered along 
with the contents of the cells to which they apply.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The value of the abbr attribute is never rendered in place of the contents of the cell.

© 2015 Microsoft