You are here: Reference > HTML > attributes > abbr (td, th)

abbr attribute (td, th)

Browser support:
Sets an abbreviation for a table header or table cell data.
If this attribute is set, it prevents users from hearing the whole cell's contents, only the value of the abbr attribute will be audible. There isn't any functionality implemented for this attribute in commonly used browsers.
JavaScript page for this attribute: abbr. You can find other example(s) there.

Possible values:

String that sets the abbreviated text.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the abbr attribute:
<table border="1px">
    <tr>
        <td abbr="def">Use short abbreviated names because user agents may render them repeatedly.</td>
        <td>Cell Data</td>
    </tr>
    <tr>
        <td>Cell Data</td>
        <td>Cell Data</td>
    </tr>
</table>
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content