HTML < td > axis 属性,规定类别的名称

 2022-06-22    411  

HTML <td> axis 属性

HTML <td> 标签

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>

axis 属性在普通的 Web 浏览器中没有视觉效果,但可以通过屏幕阅读器使用。

定义和用法

HTML5 不支持 <td> axis 属性。

axis 属性用于对单元格进行分类。

axis 属性可用于对相关的信息列进行组合。

语法


<td axis="category_name">

属性值

描述
category_name规定类别的名称。


  •  标签:  
  • html
  •  

原文链接:https://77isp.com/post/1422.html

=========================================

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。