Example
Use of the abbr attribute in an HTML table:
<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>
Try it Yourself »
Definition and Usage
The abbr attribute specifies a shorter version of the content in a header cell.
Browser Support
Attribute | |||||
---|---|---|---|---|---|
abbr | Yes | Yes | Yes | Yes | Yes |
The abbr attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
Syntax
<th abbr="text">
Attribute Values
Value | Description |
---|---|
text | A short description of the header cell content |