<acronym> HTML Tag
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Element of
- What On Earth Is Semantic Markup? (And Why Should You Learn To Write It)
- What does
<acronym> HTML Tagdo?
- The <acronym> element and title attribute was used to associate a full-text explanation with an acronym. The <acronym> element has been deprecated in HTML5 and <abbr> should be used instead.
- semantic | textual
<acronym title="National Aeronautics and Space Administration">NASA</acronym>
<acronym> element has been deprecated in HTML5. Use the
<abbr> element instead.
Dealing with Acronyms
It’s true. Although all browsers still support the element, the
acronym element is not longer valid HTML. However, you can get the same effect by using the
abbr element instead. Take a look at this example:
<acronym title="hypertext markup language">HTML</acronym><br> <abbr title="cascading style sheets">CSS</abbr>
What both of these elements do is show the
title attribute when a user allows their mouse to rest over the abbreviation or acronym.
Give it a try.