TableHeader abbr property
Example
Return the value of the abbr property of the element with id "myTh":
var x = document.getElementById("myTh").abbr;
document.getElementById("demo").innerHTML=x;
x The output is:
Make
Try it »
Definition and Usage
The abbr property sets or returns the value of the abbr property.
The abbr property specifies an abbreviated version of the content in the data cell (used for non-visual media, such as speech or braille).
If this property is set, the user will only hear the value of the abbr property (instead of the entire cell content).
Browser support





All major browsers support the abbr property. However, the functionality of this property is not implemented in any major browser.
Syntax
Return the abbr property:
tableheaderObject
.abbr
Set the abbr property:
tableheaderObject
.abbr=
text
Attribute values
| Value | Description |
|---|---|
| text | Specifies a short description of the header cell content. |
Technical Details
| Return Value: | String, representing the abbreviated text. |
|---|
Related Articles
HTML Reference Manual:HTML abbr property
The TableHeader object