HTML <abbr> Tag
<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.
- Permitted Parents
- Any element that accepts phrasing content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
The town was another 50 <abbr title="kilometers">km</abbr> away
<abbr> tag also supports the Global Attributes in HTML5
<abbr> tag also supports the Event Attributes in HTML5
The following table will show you the current browser support for the HTML
|Tablets / Mobile|
Last updated by CSSPortal on: 30th September 2023