THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML <th> abbr Attribute

HTML th Reference HTML <th> tag

Example

Use of the abbr attribute in an HTML table:

<table>
  <tr>
    <th abbr="Make">Toy manufacturer</th>
    <th abbr="Model">Vehicle model</th>
  </tr>
  <tr>
    <td>Bruder Toys</td>
    <td>Cross Country Vehicle</td>
  </tr>
  <tr>
    <td>Bruder Toys</td>
    <td>DHL Lorry</td>
  </tr>
</table>
Try it yourself »

Definition and Usage

The abbr attribute specifies a shorter version of the content in a header cell.


Browser Support

Attribute
abbr Yes Yes Yes Yes Yes

The abbr attribute has no visual effect in ordinary web browsers, but can be used by screen readers.


Syntax

<th abbr="text">

Attribute Values

Value Description
text A short description of the header cell content

HTML th Reference HTML <th> tag