English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
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 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 ‹/›
IEFirefoxOperaChromeSafari
The axis attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.
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.
<th axis="category_name">
Value | Description |
---|---|
category_name | Specify the name of the category. |