HTML <acronym> tag
The <acronym> tag gives the acronym or full form of a short text by associating with the title attribute just like in <acronym> tag.
Type: Inline Element
Example of <acronym>
<acronym title="Cascading Style Sheets"> CSS </acronym>
Output on the browser
CSS
Here, if you hover over the "CSS", a small box will pop-up near CSS showing the acronym or full text description we have written (here, Cascading Style Sheets).
Supported Browsers
| Tag | Chrome | Internet Explorer | Firefox | Safari | Opera Mini |
|---|---|---|---|---|---|
| <acronym> | Yes | Yes | Yes | Yes | Yes |
Full code example
<!DOCTYPE html> <html> <head> </head> <body> <p> <acronym title="Cascading Style Sheets"> CSS </acronym> can be used in designing layout. </p> </body> </html>
Output on the browser
CSS can be used in designing layout.
More reference
You may come across the fact that the
<abbr> tag and
<acronym> tag perform the same function of providing the full text description.
Although the <acronym> tag is supported in almost all browsers,
it is highly recommended not to use the <acronym> tag since it is outdated in modern HTML.
