HTML th axis properties
Examples
HTML table with the classification table header cell:
<table border="1" width="100%">
<tr>
<th axis="name">Name</td>
<th axis="contact">Email</td>
<th axis="contact">Phone</td>
<th axis="contact">Address</td>
</tr>
<tr>
<td>John Doe</td>
<td>[email protected]</td>
<td>+45342323</td>
<td>Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
<tr>
<th axis="name">Name</td>
<th axis="contact">Email</td>
<th axis="contact">Phone</td>
<th axis="contact">Address</td>
</tr>
<tr>
<td>John Doe</td>
<td>[email protected]</td>
<td>+45342323</td>
<td>Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
try it"
Browser Support
axis property has no visual effect in an ordinary Web browser, but you can use screen readers.
Definition and Usage
HTML5 does not support the <th> axis properties.
axis attribute for header cell classification.
axis property can be used for information related to a combination of columns.
grammar
<th axis="category_name">
Property Value
值 | 描述 |
---|---|
category_name | 规定类别的名称。 |
HTML <th> tag