English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag Directory

HTML: <th> axis attribute

The axis attribute is used to classify header cells. The axis attribute can be used to group related columns of information. The axis attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.

 HTML <th> tag

Online Example

HTML table with classified header cells:

<table style="width:100%" border="1">
  <tr>
    <th axis="name">Name</th>
    <th axis="contact">Email Address</th>
    <th axis="contact">Phone Number</th>
    <th axis="contact">Address</th>
  </tr>
  <tr>
    <td axis="name">Ma Liu</td>
    <td axis="contact">[email protected]</td>
    <td axis="contact">+13212345678</td>
    <td axis="contact">Shanghai Minhang District</td>
  </tr>
</table>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

The axis attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.

Definition and Usage

HTML5 The <th> axis attribute is not supported.

The axis attribute is used to categorize header cells.
The axis attribute can be used to group related columns of information.

Syntax

<th axis="category_name">

Attribute Value

ValueDescription
category_nameSpecify the name of the category.
 HTML <th> tag