HTML acronym Tag

HTML acronym Tag

Acronym Tag is like abbr tag. Acronym tag is used to define the abbreviation or acronym like HTML, CSS or PHP. It is not used anymore in HTML5. Abbr Tag is used in place of acronym tag.

Syntax of Acronym Tag

The syntax of acronym tag is exactly like abbr tag. The syntax is shown below.

<!DOCTYPE html>
<html>
<body>
<p>acronym is a <acronym title="HyperText Markup Language">HTML</acronym> tag.</p>
</body>
</html>

Output

Output of the above code is shown below, hover over the word HTML and you will see it's abbreviation.

acronym is a HTML tag

Title Attribute inside acronym Tag

The title attribute is used to define or explain the abbreviation. The acronym or abbreviation is written between the starting acronym tag and ending acronym tag. While it's full form is written inside title attribute.

The full form or explanation of any acronym written inside title attribute serve as tooltip and is displayed when the cursor is hovered over the abbreviation.

Default Styling of acronym Tag

The acronym Tag is inline level element. It's default styling is just like anchor tag or span tag.

Acronym Tag in HTML5

Acronym Tag defines the acronym words like ASAP, NASA, Lol etc. The acronym tag was used until HTML 4.01 but it is deprecated from latest version of HTML, HTML5. In HTML5 abbr tag is used in place of acronym tag.

Browser Support for HTML acronym Tag

Almost all major browsers support HTML acronym Tag.

HTML Acronym Tag Video

Watch our video on Acronym tag and subscribe our Youtube Channel.

HTML Comment Tag HTML Doctype Tag HTML anchor Tag HTML abbr Tag HTML acronym Tag HTML address Tag HTML applet Tag HTML area Tag HTML article Tag HTML aside Tag HTML audio Tag HTML b Tag HTML base Tag HTML basefont Tag HTML bdi Tag HTML bdo Tag HTML big Tag HTML blockquote Tag HTML body Tag HTML br Tag HTML Button Tag HTML Canvas Tag HTML Caption Tag HTML Center Tag HTML Cite Tag HTML Code Tag HTML Col Tag HTML colgroup Tag HTML data Tag HTML datalist Tag HTML dd Tag HTML del Tag HTML details Tag HTML dfn Tag HTML dialog Tag HTML dir Tag HTML div Tag HTML dl Tag HTML dt Tag HTML em Tag HTML embed Tag HTML fieldset Tag HTML figcaption Tag HTML figure Tag HTML font Tag HTML footer Tag HTML form Tag HTML frame Tag HTML frameset Tag HTML Heading Tags HTML head Tag HTML header Tag HTML hr Tag HTML html Tag HTML i Tag HTML iframe Tag