HTML <td> axis属性

HTML td 标签参考手册HTML <td> タグ

例

分類セルを含む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>

試してみる »

ブラウザサポート

Internet ExplorerFirefoxOperaGoogle ChromeSafari

axis 属性は通常のWebブラウザでは視覚的な効果はありませんが、スクリーンリーダーで使用できます。


定義と使い方

HTML5 は <td> axis 属性をサポートしていません。

axis 属性はセルを分類するために使用されます。

axis 属性は関連する情報列をグループ化するために使用できます。


構文

<td axis="category_name">

属性値

值 説明
category_name カテゴリの名前を指定します。


HTML td 标签参考手册HTML <td> タグ その他の拡張