It is used to abbreviate long words. xml:lang attribute should also be used for abbreviating a foreign word to indicate the language used. The long word is given as value to title attribute and is shown as tool tip when mouse moves over text. The abbreviated text placed in the <abbr> tags, is usually underlined with a dotted line in Firefox as shown
HTML code <p> Center code is <abbr title=”Delhi”>DEL</abbr>.</p> | Browser output |
Apply for HTML Certification
https://www.vskills.in/certification/certified-html-designer