HTML <abbr> Tag
Description
The <abbr>
HTML element indicates that the sequence of characters is an abbreviation. Using the title attribute, the abbreviation is given, which allows you to understand the abbreviation for those people who are not familiar with it. In addition, search engines index the full-text version of the abbreviation, this can be used to increase the ranking of the webpage.
Browsers typically add a dashed underline to the text, but may not highlight the contents of an element.
Properties
- Permitted Parents
- Any element that accepts phrasing content
- Content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
Example
The town was another 50 <abbr title="kilometers">km</abbr> away
Attributes
None
Global Attributes
The <abbr>
tag also supports the Global Attributes in HTML5
Event Attributes
The <abbr>
tag also supports the Event Attributes in HTML5
Browser Support
The following table will show you the current browser support for the HTML <abbr>
tag.
Desktop | |||||
![]() |
![]() |
![]() |
![]() |
![]() |
|
12 | 2 | 1 | 15 | 4 |
Tablets / Mobile | |||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023