abbr – abbreviation

<abbr title="expansion">abbreviation</abbr>

An abbreviation or an acronym. The expansion is written in the title attribute – the browser shows it as a tooltip on mouse hover and underlines the abbreviation with a dotted line.

  • Default display: display: inline
  • End tag: required
  • Content: phrasing content
  • Where it can be used: anywhere phrasing content is allowed
  • DOM interface: HTMLElement

Attributes

  • title – the full form of the abbreviation (only the full form, nothing else).

Examples

An abbreviation with its expansion in a tooltip and, at its first occurrence, right in the text:

<p><abbr title="Hypertext Markup Language">HTML</abbr> describes the structure of a page.</p>
<p>Cascading Style Sheets (<abbr>CSS</abbr>) define the look.</p>
result

HTML describes the structure of a page.

Cascading Style Sheets (CSS) define the look.

Accessibility

The tooltip from title does not appear on touch devices or from the keyboard, and screen readers mostly do not read it. Spell out an abbreviation the reader may not know right in the text at its first occurrence.

Things to watch out for

  • Only abbr with a title attribute gets the dotted underline.
  • You do not have to mark abbreviations everyone knows (etc., e.g.).
  • The obsolete acronym has been replaced by abbr.

Browser support

Baseline – widely available: works in all major browsers and has for a long time (since 2015 at the latest). Since version: Chrome 2, Firefox 1, Safari 4. As of October 2026 (MDN browser-compat-data).

Related:
dfn – defined term
title – element tooltip (attribute)
span – generic inline element