Advertisement
Home Open Editor ❯

HTML <th> abbr Attribute

Example

<table>
  <tr>
    <th abbr="heading 1">Heading</th>
    <th abbr="heading 2">Heading</th>
  </tr>
  <tr>
    <td>Table data</td>
    <td>Table data</td>
  </tr>
  <tr>
    <td>Foot data</td>
    <td>Foot data</td>
  </tr>
</table>

Try this code ❯

Meaning

The abbr attribute contains a short abbreviated description of the cell's content.

Some user-agents, such as speech readers, may present this description before the content itself.


Standard Syntax

<th abbr="text">...</th>


Advertisement

Attribute Values

Value Description
text A short abbreviated description of the cell's content.
Home Open Editor ❯
Advertisement