HTML <acronym> Tag

The <acronym> tag defines that the content is an acronym or abbreviation such as NATO, USA, UK etc.

It is generally used along with "title" attribute which provides an explanation for the user when cursor comes on the word.

Note: This element is not used anymore in HTML5.

Recommendation: Use the <abbr> tag instead which is doing the same job after HTML5.


The <acronym> tag comes in pairs. This means that the tag has opening (<acronym>) and closing (</acronym>) tags.


<!DOCTYPE html>
    <title>Title of the document</title>
    <p><acronym title="Hyper Text Markup Language">HTML</acronym> is the main markup language for creating websites.</p>

To see the result bring your mouse cursor over the "HTML".

HTML is the main markup language for creating websites.

The <acronym> tag uses the Global Attributes.