HTML th atributo abbr
Exemplos
Usando o atributo abbr em uma tabela HTML:
<table border="1">
<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>
<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>
tente »
Suporte a navegadores
abbr atribuir efeitos visuais em um navegador da Web comum, mas você pode usar leitores de tela.
Definição e Uso
O HTML5 não suporta o elemento <th> abbr atributo.
abbr atributo especifica uma versão abreviada do conteúdo da célula de cabeçalho.
gramática
<th abbr="text">
Valor de propriedade
值 | 描述 |
---|---|
text | 表头单元格内容的短描述。 |
tag HTML <th>