HTML <abbr> Tag
Last Updated :
05 Dec, 2023
The <abbr> tag(Abbreviation) in HTML is used to define the abbreviation or 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 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: This example describes the abbr tag.
html
<!DOCTYPE html>
< html >
< body >
< h1 >GeeksforGeeks</ h1 >
< h2 >This is abbr Tag</ h2 >
< abbr title = "GeeksforGeeks" >GFG</ abbr >
</ body >
</ html >
|
Output:
abbr Tag
Supported Browsers:
- Google Chrome 2 and above
- Edge 12 and above
- Internet Explorer 7 and above
- Firefox 1 and above
- Opera
- Safari
Share your thoughts in the comments
Please Login to comment...