HTML <th> abbr - Attribut

❮ HTML <th>-Tag

Beispiel

Verwendung des abbr-Attributs in einer HTML-Tabelle:

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

Definition und Verwendung

Das abbrAttribut gibt eine kürzere Version des Inhalts in einer Kopfzelle an.

Hinweis: Das abbrAttribut hat in gewöhnlichen Webbrowsern keinen visuellen Effekt, kann aber von Screenreadern verwendet werden. 


Browser-Unterstützung

Attribute
abbr Yes Yes Yes Yes Yes

Syntax

<th abbr="text">

Attributwerte

Value Description
text A short description of the header cell content

❮ HTML <th>-Tag