html abbr tag

HTML Abbr Tag

HTML <abbr> Tag

HTML tags are used to indicate abbreviations,
For example, a big-name company uses the tag to shorten it and has a full whistle in the title.

demo:-

NCC : – National Cadet Corps.

HTML : – Hypertext Markup Language.

Example:-

<!DOCTYPE html>
<html>

   <head>
      <title>HTML abbr Tag</title>
   </head>

   <body>
           <h1>promotes the global game.</h1> 
      <p>
         <abbr title = "Private">pvt.</abbr>
          <br>
         <br>
         <abbr title = "International Cricket Council">ICC.</abbr> 
        
      </p>
   </body>

</html>

Output:-


Leave a Comment

Your email address will not be published. Required fields are marked *