Attribut HTML <th> abbr

❮ Balise HTML <th>

Exemple

Utilisation de l'attribut abbr dans un tableau HTML :

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

Définition et utilisation

L' abbrattribut spécifie une version plus courte du contenu dans une cellule d'en-tête.

Remarque : L' abbrattribut n'a aucun effet visuel dans les navigateurs Web ordinaires, mais peut être utilisé par les lecteurs d'écran. 


Prise en charge du navigateur

Attribute
abbr Yes Yes Yes Yes Yes

Syntaxe

<th abbr="text">

Valeurs d'attribut

Value Description
text A short description of the header cell content

❮ Balise HTML <th>