Example
Use of the abbr attribute in an HTML table:
<table>
<tr>
<th>Toy manufacturer</th>
<th>Model</th>
</tr>
<tr>
<td>Bruder Toys</td>
<td abbr="vehicle">8970 Cross Country Vehicle</td>
</tr>
<tr>
<td>Bruder Toys</td>
<td abbr="lorry">0567 DHL Lorry</td>
</tr>
</table>
Try it Yourself »
Definition and Usage
The <td> abbr attribute is not supported in HTML5.
The abbr attribute specifies a shorter version of the content in a 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
<td abbr="text">
Attribute Values
Value | Description |
---|---|
text | A short description of the cell content |