HTML <th> abbr attribute
Definition and Usage
abbr
The attribute specifies a shorter version of the content in the title cell.
Note:abbr
The attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.
Example
Use the abbr attribute in HTML tables:
<table> <tr> <th abbr="Make">Car Brand</th> <th abbr="Model">Car Model</th> </tr> <tr> <td>Audi</td> <td>A6 Allroad</td> </tr> <tr> <td>Porsche</td> <td>911</td> </tr> </table>
Syntax
<th abbr="text">
attribute value
value | description |
---|---|
text | Define a brief description of the content of the title cell. |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |