Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

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

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

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
Last Updated : 17 Oct, 2022
Like Article
Save Article
Similar Reads
Related Tutorials