Atributo HTML <th> abbr
Exemplo
Uso do atributo abbr em uma tabela 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>
Definição e uso
O abbr
atributo especifica uma versão mais curta do conteúdo em uma célula de cabeçalho.
Observação: o abbr
atributo não tem efeito visual em navegadores comuns, mas pode ser usado por leitores de tela.
Suporte ao navegador
Attribute | |||||
---|---|---|---|---|---|
abbr | Yes | Yes | Yes | Yes | Yes |
Sintaxe
<th abbr="text">
Valores de atributo
Value | Description |
---|---|
text | A short description of the header cell content |
❮ Tag HTML <th>