HTML Reference ยท Obsolete Elements
The <acronym> element (obsolete)
The HTML <acronym> element is obsolete. Learn what it did, why HTML5 dropped it in favor of <abbr>, and how to update old markup with a before and after example.
The <acronym> element marked an acronym, an abbreviation spoken as a word, such as "NASA" or "laser". Its title attribute held the expansion, which browsers showed as a tooltip.
Why it's obsolete
HTML 4 had both <abbr> and <acronym>, and authors constantly argued about which one applied: is "URL" an acronym or an initialism? The distinction added nothing useful for readers or software, so HTML5 dropped <acronym> and made <abbr> cover every kind of abbreviation.
Browsers still render <acronym> as plain inline text, and the title tooltip still appears, so old pages keep working. A validator, however, reports it as an error.
Modern replacement
Swap the tag name for <abbr>. The title attribute keeps working exactly as before.
Some browsers give <abbr title> a dotted underline by default; style it with CSS if you want a consistent look. For readers on touch screens, who can't hover, spell out the expansion in the text the first time the term appears.
Technical summary
| Status | Obsolete (non-conforming) |
| Replacement | <abbr> |
| Still rendered by browsers | Yes, as inline text with a title tooltip |
Related
<abbr>โ the modern element for abbreviations<dfn>โ the defining instance of a term- Lesson: Deprecated and Obsolete Features