HTML <td> axis 属性
实例
带有分类单元格的 HTML 表格:
  
    <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 axis="name">John Doe</td>
<td axis="contact">someone@example.com</td>
<td axis="contact">+45342323</td>
<td axis="contact">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 axis="name">John Doe</td>
<td axis="contact">someone@example.com</td>
<td axis="contact">+45342323</td>
<td axis="contact">Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
尝试一下 »
浏览器支持





axis 属性在普通的 Web 浏览器中没有视觉效果,但可以通过屏幕阅读器使用。
定义和用法
HTML5 不支持 <td> axis 属性。
axis 属性用于对单元格进行分类。
axis 属性可用于对相关的信息列进行组合。
语法
  
    <td axis="category_name">
属性值
| 值 | 描述 | 
|---|---|
| category_name | 规定类别的名称。 | 
 HTML <td> 标签
  HTML <td> 标签			
						
			
 HTML教程
HTML教程 HTML5教程
HTML5教程 HTML参考手册
HTML参考手册 HTML字符集
HTML字符集 HTML DOM 教程
HTML DOM 教程