HTML acronym Tag
-
HTML
<acronym>
tag describes an acronyms. when mouse over on the text, acronyms full text will be display. -
HTML
<acronym>
tag remove in HTML5 specification.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML acronym tag</title>
</head>
<body>
Advance topic <acronym title="Cascading Style Sheet">CSS</acronym> is more flexible to useful.
</body>
</html>
Global Attributes
<acronym> tag also support global attributes.
Attributes | Value | Description |
---|---|---|
id | unique_name | Declared unique id for an element. |
class | class_name | Declared one or more classnames for an element. |
style | styles | CSS inline styles specify an element. |
title | title | Specify extra details of element contain, this will display as a "tooltip" for an elements. |
Event Attributes
<acronym> tag support following Event attributes.
Attributes | Value | Description |
---|---|---|
onfocus | script | element gets focus on object when script tobe run. |
onblur | script | element lose the focus on object when scrip tobe run. |
onclick | script | clicked on object when script tobe run. |
ondblclick | script | double click on object when script tobe run. |
onkeydown | script | key is pressed when script tobe run. |
onkeypress | script | key is pressed over element then released when script tobe run. |
onkeyup | script | key is released over element when script tobe run. |
onmousedown | script | mouse button was pressed over an element when script tobe run. |
onmouseout | script | mouse pointer release over an element when script tobe run. |
onmousemove | script | run mouse pointer moved when script tobe run. |
onmouseover | script | run mouse pointer move over when script tobe run. |
onmouseup | script | mouse button is released when script tobe run. |
Browser Compatibility
- Google Chrome
Yes - Mozilla Firefox
Yes - Microsoft Edge
Yes - Opera
Yes - Safari
Yes