This deprecated element is not recommended. Authors should generally find an alternative way to accomplish the same task while adhering to all best practices, or simply do without it if it is unimportant.
The HTML <acronym></acronym> element has been deprecated since HTML5 in favor of the <abbr></abbr> element. It allowed authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word. It renders a dotted underline beneath the selected text. The user must hover their cursor over the selected text in order to view the acronym.
Attributes
- Global Attributes
It is best to associate the global title attribute to this element in order to indicate the text to be shown for the acronym.
HTML example:
<acronym title="Cascading Style Sheets">CSS</acronym>
Rendering
Acronyms are typically rendered identically to <abbr> elements, with a dotted line below them.
Typical CSS representation
acronym[title] {
border-bottom: dotted 1px;
}