Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML The tag - Not supported in HTML5

Example

The marked acronyms are as follows:

Can I get this ASAP?

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support .

**Note:** IE 5.5 and earlier IE browsers do not support tag.


Tag Definition and Usage Notes

HTML5 does not support tag. Please use the tag instead.

The tag defines an acronym.

If the acronym is a word, it can be pronounced, for example 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 the mouse over an abbreviation/acronym with the over an acronym with the tag, the title attribute of the tag can be used to show the full version of the acronym.


Differences between HTML 4.01 and HTML5

HTML5 does not support The tag, supported in HTML 4.01 tag.


Standard Attributes

In HTML 4.01, The tag supports the following standard attributes:

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

For a complete description, please visitStandard Attributes.


Event attribute

In HTML 4.01, The tag supports the following event attributes:

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

For a complete description, please visitEvent attribute.