HTML abbr Tag

Table of Contents

What is abbr tag in HTML?

This tag is used to represent any acronym or abbreviation for a long word or phrase. The content written between <abbr> tags renders with a dotted underline in some browser.

Syntax

<abbr title="Hyper Text Transfer protocol">HTTP</abbr>  

Example

<!DOCTYPE html>  
<html>  
  <head>  
    <title>Your title</title>  
  </head>  
 <body>  
    <p><b>Hover mouse over the content and see the abbreviation</b></p>  
       <abbr title="Hyper Text Transfer protocol">HTTP</abbr>  
    </body>  
</html>    
Tags:
Previous HTML Anchor

Leave a Reply