HTML <acronym>Tag -Not Supported in HTML5


Examples

The marked acronym is as follows:

Can I get this <acronym title="as soon as possible">ASAP</acronym>?

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the <acronym> tag.

Note:IE 5.5 or earlier versions of IE do not support the <acronym> tag.


Definition and Usage

HTML5 does not support the <acronym> tag. Please use the<abbr>tag instead.

The <acronym> tag defines an acronym.

If the acronym is a word, it can be read as a word, e.g., NATO, NASA, ASAP, GUI.

By marking up acronyms, you can provide useful information to browsers, spell checkers, translation systems, and search engine indexers.


Tips and Notes

Tip:In some browsers, when you move your mouse over an acronym marked with the <acronym> tag, the title attribute of the <acronym> tag can be used to display the full version of the acronym.


Differences Between HTML 4.01 and HTML5

HTML5 does not support the <acronym> tag, while HTML 4.01 supports the <acronym> tag.


Standard Attributes

In HTML 4.01, the <acronym> tag supports the following standard attributes:

Attribute Value Description
class classname Specifies the class name of the element
dir rtl
ltr
Specifies the text direction of the content in the element
id id Specifies the unique id of the element
lang language_code Specifies the language code of the content in the element
style style_definition Specifies the inline style of the element
title text Specifies additional information about the element
xml:lang language_code Specifies the language code of the content in the element in an XHTML document

For a full description, please visitStandard Attributes。


Event Attributes

In HTML 4.01, the <acronym> tag supports the following event attributes:

Attribute Value Description
onclick script Script to be run when the mouse is clicked
ondblclick script Script to be run when the mouse is double-clicked
onmousedown script Script to be run when the mouse button is pressed
onmousemove script Script to be run when the mouse pointer moves
onmouseout script Script to be run when the mouse pointer moves out of an element
onmouseover script Script to be run when the mouse pointer hovers over an element
onmouseup script Script to be run when the mouse button is released
onkeydown script Script to be run when a key is pressed
onkeypress script Script to be run when a key is pressed and released
onkeyup script Script to be run when a key is released

For a full description, please visitEvent Attributes。

Other Extensions