HTML | <th> axis Attribute
The HTML <th> axis attribute is used to categorize the header cell content. It is used for group related information. This attribute does not display visual effect on the web browser but it is used by screen readers. It is not supported by HTML 5.
Syntax:
<th axis="category_name">
Attribute Values:
- category_name: It is used to specify the category name.
Example:
<!DOCTYPE html> <html> <head> <title>HTML th axis Attribute</title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML th axis Attribute</h2> <table width="500" border="1"> <tr> <th axis="student_name">NAME</th> <th axis="student_age">AGE</th> <th axis="student_branch">BRANCH</th> </tr> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> <tr> <td>RAKESH</td> <td>25</td> <td>EC</td> </tr> </table> </body> </html> |
chevron_right
filter_none
Output:

Supported Browsers: The browser supported by HTML <th> axis attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Recommended Posts:
- HTML | <td> axis Attribute
- HTML | <map> name Attribute
- HTML | <img> src Attribute
- HTML | <li> value Attribute
- HTML | <a> rel Attribute
- HTML | <img> alt Attribute
- HTML | min Attribute
- HTML | low Attribute
- HTML | for Attribute
- HTML | dir Attribute
- HTML | value Attribute
- HTML | <form> name Attribute
- HTML | span Attribute
- HTML | readonly Attribute
- HTML | <td>colspan Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



