HTML Acronym <acronym>

Usage

The HTML acronym tag allows you to use acronyms in your text and most browsers will show the full version of the acronym when the user scrolls over.

This tag is very similar to the abbr and dfn tags.

Code:


<!DOCTYPE html>
<html>
<head>
<!-- This is the stylesheet John created in 2020 -->
<link rel="stylesheet" href="/file/stylesheet.css">
</head>

<body>

<div id="openingparagraphs">

<p>Welcome to my webpage and paragraph 1.</p>

<p>I have so much to say I'm going to need a lot of paragraphs!</p>

<p>Scroll over the acronym <abbr title="Hypertext Markup Language">HTML.</abbr></p>

</div>

</body>

</html>

Output:

Welcome to my webpage and paragraph 1.

I have so much to say I’m going to need a lot of paragraphs!

Scroll over the acronym HTML