Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Which tag is used to define the abbreviation of an element in HTML ?

  • Last Updated : 24 Jan, 2022

In this article we will discuss about the tag that is used to define an abbrevation.

The <abbr> tag in HTML is used to define the abbreviation or the short form of an element. The <abbr> and <acronym> tags are used as shortened versions and used to represent a series of letters. The abbreviation is used to provide useful information to the browsers, translation systems, and search-engines.

Syntax:  

<abbr title="">Short form</abbr>
  • Attribute: This tag accepts an optional attribute as mentioned above and described below:
  • title: It is used to specify extra information about the element. When the mouse moves over the element then it shows the information.

Example:

HTML




<!DOCTYPE html>
<html>
  
<body>
    <h1>GeeksforGeeks</h1>
    <h2>This is <abbrgrt; Tag</h2>
    <abbr title="GeeksforGeeks">GFG</abbr>
    <abbr title="Hyper text Preprocessor">PHP</abbr>
</body>
  
</html>

Output:

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!