HTML5 abbr Tag

HTML5 abbr Tag

Use the HTML5 abbr tag, to indicate an acronym or abbreviation such as Dr. , NASA, CD, DIY, FMCG, DPI, JPEG, etc. Using acronyms and abbreviation  isn’t a bad practice and is known to search engines and browsers.

For providing the full form/ version of the acronym or abbreviation, use the title attribute. On mouse over, the title shows the description.

Here’s the output,

In the above output, as you can see, on keeping mouse cursor the title text is visible. The title displays the full form of NASA.

HTML a Tag
HTML5 Online Quiz
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment