HTML <th> abbr Attributo
Esempio
Uso dell'attributo abbr in una tabella 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>
Definizione e utilizzo
L' abbr
attributo specifica una versione più breve del contenuto in una cella di intestazione.
Nota: l' abbr
attributo non ha alcun effetto visivo nei normali browser Web, ma può essere utilizzato dagli screen reader.
Supporto browser
Attribute | |||||
---|---|---|---|---|---|
abbr | Yes | Yes | Yes | Yes | Yes |
Sintassi
<th abbr="text">
Valori di attributo
Value | Description |
---|---|
text | A short description of the header cell content |
❮ Tag HTML <th>