HTML <acronym>: element

HTML <acronym>: element

Not supported in HTML5. Use <abbr> tag instead.

The <acronym> tag was used in HTML 4 earlier to define an acronym.

The <acronym> tag was basically used to specifies the author's contact information.



Important Note:


• The HTML <acronym> element is not supported in HTML5.


HTML <acronym> element example 1:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>The acronym element example</title>
</head>
<h1>The acronym element</h1>

<p>The <acronym title="Computer Science Engineering">CSE </acronym> department comes under technical degree.</p>

</html>

Output:


The CSE department comes under technical degree.



HTML <acronym> element example 2:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>The acronym element example</title>
</head>
<h1>The acronym element</h1>

<p>You can use <acronym title="Cascading Style Sheets">CSS</acronym> to style your <acronym title="HyperText Markup Language">HTML</acronym>.</p>

</html>

Output :

You can use CSS to style your HTML.