**`<abbr>`** wraps a shortened form of a word or phrase, with the **`title`** attribute holding the full, expanded text. Browsers typically render it with a dotted underline and show the `title` as a tooltip on hover. Screen readers can announce the expansion too, which helps users unfamiliar with the abbreviation. It's good practice to spell out the term in full the first time it appears on a page, with the abbreviation in parentheses, and use `<abbr>` for subsequent mentions.
1Understanding <abbr>
`<abbr>` wraps a shortened form of a word or phrase, with the `title` attribute holding the full, expanded text. Browsers typically render it with a dotted underline and show the title as a tooltip on hover. Screen readers can announce the expansion too, which helps users unfamiliar with the abbreviation. It's good practice to spell out the term in full the first time it appears on a page, with the abbreviation in parentheses, and use <abbr> for subsequent mentions.
Since the title tooltip only appears on mouse hover, it's not reliably accessible on touch devices — spelling out the term at least once in the visible page content is the most robust approach.
<p><abbr title="HyperText Markup Language">HTML</abbr> is the standard markup language for web pages.</p>2Practical Example
Here is a real-world application of <abbr> showing how it is used in production HTML.
<!-- Spelling out on first use, then abbreviating -->
<p>The World Health Organization (<abbr title="World Health Organization">WHO</abbr>) issued new guidance. Later, the <abbr title="World Health Organization">WHO</abbr> clarified the policy.</p>3Best Practices
Follow these guidelines when working with <abbr>:
1. Always include the title attribute with the full expansion
2. Spell out the term in full on first use, then use <abbr> for later mentions
3. Don't rely solely on the hover tooltip for touch/mobile accessibility — provide visible context too
Tip: Since the title tooltip only appears on mouse hover, it's not reliably accessible on touch devices — spelling out the term at least once in the visible page content is the most robust approach.
<p><abbr title="HyperText Markup Language">HTML</abbr> is the standard markup language for web pages.</p>