Latest

recent

HTML td abbr attribute

Example

Use of the abbr attribute in an HTML table:
<table border="1">
  <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>


Definition and Usage

The abbr attribute specifies a shorter version of the content in a cell.
The abbr attribute makes no visual difference in ordinary web browsers.
This attribute can be used by screen readers.

Browser Support

Since there is no visual difference in ordinary web browsers, it’s difficult to say whether or not they support the abbr attribute.

Syntax

<td abbr="value">

Attribute Values

Value Description
text A short description of a cell
HTML td abbr attribute Reviewed by 1000sourcecodes on 21:26 Rating: 5
Powered by Blogger.