Esempio
L'utilizzo del abbr attributi 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>
Prova tu stesso " Definizione e utilizzo
Il abbr attributo specifica una versione più corta del contenuto in una cella di intestazione.
Supporto per il browser
Attributo | |||||
---|---|---|---|---|---|
abbr | sì | sì | sì | sì | sì |
Il abbr attributo non ha effetto visivo nei browser web normali, ma può essere utilizzato dagli screen reader.
Sintassi
<th abbr="text">
I valori degli attributi
Valore | Descrizione |
---|---|
text | Una breve descrizione del contenuto cella di intestazione |