td/th abbr property
td/th object
Definition and Usage
The abbr property can set or return an abbreviated version of the content in a table cell (for non-visual media, such as speech and Braille).
If this property is set, the user can only hear the value of the abbr property (not the content of the cell).
Syntax
Set the abbr property:
tdObject.abbr="
text
"
or
thObject.abbr="
text
"
Return the abbr property:
tdObject.abbr
or
thObject.abbr
Tip: The abbr property has no default value.
Browser support





All major browsers support the abbr property.
Example
Example
The following example displays the abbr of the first cell:
| Keep the abbreviated names short, as the browser may display them repeatedly. | Cell data |
| Cell data | Cell data |
Try it »
td/th object