Attributo abbr HTML <th>
Definizione e uso
abbr
L'attributo definisce una versione più breve del contenuto della cella di intestazione.
Attenzione:abbr
L'attributo non ha un effetto visivo nei browser web normali, ma può essere utilizzato dai lettori di schermo.
Esempio
Usare l'attributo abbr in una tabella HTML:
<table> <tr> <th abbr="Make">Marchio auto</th> <th abbr="Model">Modello auto</th> </tr> <tr> <td>Audi</td> <td>A6 Allroad</td> </tr> <tr> <td>Porsche</td> <td>911</td> </tr> </table>
Sintassi
<th abbr="testo">
valore attributo
valore | descrizione |
---|---|
testo | Definire una breve descrizione del contenuto della cella di intestazione. |
Supporto browser
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Supporto | Supporto | Supporto | Supporto | Supporto |