Summary -

In this topic, we described about the <abbr> tag along with detailed example.

Specifies an abbreviation of an element. The <abbr> tag creates an 'abbr' or 'abbreviation' or an acronym of an element. The <abbr> tag is used to indicate an abbreviation.

To use <abbr> tag, place the text in between the opening and closing <abbr></abbr> tags. Creating abbreviations will provide useful information to browsers, translation systems and search-engines.

Title attribute can be used to provide an expansion of the abbreviation. The basic tag is written like this <abbr title=""></abbr>. Any expansion of the abbreviation can be added in between the double quotes of the title attribute.

Syntax -

<abbr>.. text here.. </abbr>

Example -

<!DOCTYPE html>
<html>
	<head>
		<title>abbreviation example</title>
	</head>
	<body>
		<p><abbr title="">TC</abbr> 
		is a best online tutorials library.</p> 
	</body>
</html>

Output -

TC is a best online tutorials library.