<acronym>
<acronym>
Tag
The <acronym>
element was historically used to define acronyms, often with a title
attribute to provide additional information. However, it is now obsolete and has been replaced by <abbr>
, which serves the same purpose for both acronyms and abbreviations.
Syntax
<acronym title="Full Form">Acronym</acronym>
acronym
Demo
The WWW is only a component of the Internet.
<p>
The <acronym title="World Wide Web">WWW</acronym> is only a component of the
Internet.
</p>
Default Styling
The <abbr>
element replaces <acronym>
, and while it does not enforce a default appearance, browsers such as Opera, Firefox, and Chrome typically apply a dotted underline to its content.
font-variant: normal;
in your CSS.- Web authors are advised to explicitly style the
<abbr>
element or accept variations in browser rendering.
See Also
<abbr>
element.Conclusion
The <acronym>
element is deprecated in HTML5 and should no longer be used. Instead, the <abbr>
element, along with the optional title
attribute, provides a more standardized approach for displaying abbreviations and acronyms.
Browsers may apply default styling, such as dotted underlines or small caps, but these can be customized using CSS as needed.