Acronym tag Description:
The HTML acronym tag element defines its content as an acronym, and is commonly used together with the "title" attribute to expand/explain the acronym. Visual browsers usually render the content of the "title" attibute as a "tool tip" (when the user puts the mouse pointer over the element for a short period of time). But in this case, you must not forget that the "title" attribute provides the expansion/explanation of the acronym.
By marking up acronyms you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.
The <acronym> tag is not supported in HTML5. Use the <abbr> tag instead.
The <acronym> tag defines an acronym.
An acronym can be spoken as if it were a word, example NATO, NASA, ASAP, GUI.
Example:
| Code | View |
|---|---|
| <acronym title="Telecomunications and informatic">Telematic</acronym> | Telematic |
| <acronym title="Hyper Text Markup Language">HTML</acronym> | HTML |
| <acronym title="Light Amplification by Stimulated Emission of Radiation">Laser</acronym> | Laser |
Acronym tag Standard Attributes:
The <acronym> tag supports the following standard attributes:
| Attribute | Description |
|---|---|
| class | Document wide identifier |
| dir | Specifies the direction of the text |
| id | Document wide identifier |
| title | Specifies a title to associate with the element. |
| style | Helps to include inline casecadubf style sheet. |
| lang | Sets the language code. |
Acronym tag Event Attributes:
The <acronym> tag supports the following event attributes :
| Attribute | Description |
|---|---|
| onclick | Script runs when a mouse click |
| ondblclick | Script runs when a mouse double-click |
| onmousedown | Script runs when mouse button is pressed |
| onmouseup | Script runs when mouse button is released |
| onmouseover | Script runs when mouse pointer moves over an element |
| onmousemove | Script runs when mouse pointer moves |
| onmouseout | Script runs when mouse pointer moves out of an element |
| onkeypress | Script runs when key is pressed and released |
| onkeydown | Script runs when key is pressed |
| onkeyup | Script runs when key is released |
The post HTML Acronym tag appeared first on .