align

收藏:0   阅读:34

HTML <th> abbr 属性

实例

在 HTML 表格中使用 abbr 属性:

<table border="1">
<tr>
<th abbr="Make">Toy manufacturer</th>
<th abbr="Model">Vehicle model</th>
</tr>
<tr>
<td>Bruder Toys</td>
<td>Cross Country Vehicle</td>
</tr>
<tr>
<td>Bruder Toys</td>
<td>DHL Lorry</td>
</tr>
</table>


浏览器支持

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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


定义和用法

HTML5 不支持 <th> abbr 属性。

abbr 属性规定表头单元格中内容的缩写版本。


语法

<th abbr="text">

属性值

描述
text 表头单元格内容的短描述。
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!