HTML - Tags - <abbr>

#2 of 147
abbr
Prev a

 <html>
 <body>
     Doctors recommend consuming no more than 1
     <abbr title="teaspon">tsp</abbr>
     of salt per day.
 </body>
 </html>
 

The abbr element describes an abbreviation.

The title property of the element contains the full text of the abbreviation.

A live example:


Doctors recommend consuming no more than 1 tsp of salt per day.


An abbreviation is the shortened form of a word or phrase. Cf. acronym.

N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath