Last Updated : 26 Jun, 2019
The
HTML <th> axis attributeis 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:
<!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>
Output: Supported Browsers:
The browser supported by
HTML <th> axis attributeare listed below:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4