Easy Tutorial
❮ Prop Node Nodevalue Prop Style Minwidth ❯

td/thabbr Attribute


Definition and Usage

The abbr attribute sets or returns the abbreviated version of the content in a table cell (for non-visual media, such as speech and braille).

If this attribute is set, users will only hear the value of the abbr attribute (not the content of the cell).

Syntax

Set the abbr attribute:

Return the abbr attribute:

Note: The abbr attribute has no default value.


Browser Support

All major browsers support the abbr attribute.


Example

The following example prompts for the abbr of the first cell:

❮ Prop Node Nodevalue Prop Style Minwidth ❯