HTML <td> abbr attribute
HTML <td> tag
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> |
Try it yourself!
|
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
Attribute Values
Value |
Description |
text |
A short description of a cell |
HTML <td> tag
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate is for developers who want to document their knowledge of JavaScript and the HTML DOM.
The XML Certificate is for developers who want to document their knowledge of XML, XML DOM and XSLT.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
The PHP Certificate is for developers who want to document their knowledge of PHP and SQL (MySQL).
|
|