What is an <acronym> Acronym/Abbreviation Tag in HTML ?
HTML <acronym> tag represents the acronym or abbreviation of the word.
HTML <acronym> tag starts with the opening <acronym> and closing tag</acronym>.
The “title” is an important attribute used with the <acronym> element.
“title” attribute should contain human-readable description or expansion of the abbreviation.
<acronym> tags is removed in HTML5, HTML5 recommends to use <abbr> tag instead of <acronym> tag.
<acronym> element only supports the global attributes.
Syntax :
<acronym title = "Some text"> Some Text </acronym>
Example :
<html>
<head>
<title>My Webpage</title>
</head>
<body>
<p>US stands for <acronym title = "United States">United States</acronym></p>
<p>IN stands for <acronym title = "India">India</acronym></p>
<p>APJ stands for <acronym title = "Abdul Kalaam">APJ Abdul Kalaam</acronym></p>
<p>WHO stands for <acronym title = "World Health Organisation">World Health Organisation</acronym></p>
<p>EC stands for <acronym title = "European Community">European Community</acronym></p>
</body>
</html>
Output :
HTML coding for a website !!!
Click to Learn More about – HTML Tutorial for beginners
Global Attributes
<acronym> tag supports global attributes listed below,
Sno | Attributes | Value | Description |
---|---|---|---|
1 | id | unique_name | Declared unique id for an element. |
2 | class | class_name | Declared one or more classnames for an element. |
3 | style | styles | CSS inline styles specify an element. |
4 | title | title | Specify extra details of element contain, this will display as a “tooltip” for an elements. |
Event Attributes
<acronym> tag supports the Event attributes listed below,
Sno | Attributes | Value | Description |
---|---|---|---|
1 | onfocus | script | element gets focus on object when script tobe run. |
2 | onblur | script | element lose the focus on object when scrip tobe run. |
3 | onclick | script | clicked on object when script tobe run. |
4 | ondblclick | script | double click on object when script tobe run. |
5 | onkeydown | script | key is pressed when script tobe run. |
6 | onkeypress | script | key is pressed over element then released when script tobe run. |
7 | onkeyup | script | key is released over element when script tobe run. |
8 | onmousedown | script | mouse button was pressed over an element when script tobe run. |
9 | onmouseout | script | mouse pointer release over an element when script tobe run. |
10 | onmousemove | script | run mouse pointer moved when script tobe run. |
11 | onmouseover | script | run mouse pointer move over when script tobe run. |
12 | onmouseup | script | mouse button is released when script tobe run. |
Browser Compatibility
Sno | Browser | Support |
1 | Chrome | Yes |
2 | Firefox | Yes |
3 | Edge | Yes |
4 | Opera | Yes |
5 | Safari | Yes |
6 | Internet Explorer | Yes |
I am sure this paragraph has touched all the internet users, its really really good article on building up new blog. Judith Davidde Brockwell
Thanks a lot for your love and support.
If the tutorial is good please share it to your friends.
Thanks.