HTML <th> abbr属性

❮HTML<th>タグ

HTMLテーブルでのabbr属性の使用:

<table>
  <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>

定義と使用法

このabbr属性は、ヘッダーセルのコンテンツの短いバージョンを指定します。

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


ブラウザのサポート

Attribute
abbr Yes Yes Yes Yes Yes

構文

<th abbr="text">

属性値

Value Description
text A short description of the header cell content

❮HTML<th>タグ