Skip to content

<dfn> - The Definition Element

Inline HTML 3.2

The definition element marks the defining instance of a term - the first time a term is introduced and explained in a document.

Result
<dfn>term being defined</dfn>

The <dfn> element is typically rendered in italic by default, indicating the term is being defined.

Result
Result
Result
Result

The title attribute can provide additional context:

Result
Result
Result

Link to definitions from other parts of the document:

Result
Result

Pattern 2: Term with Parenthetical Definition

Section titled “Pattern 2: Term with Parenthetical Definition”
Result
Result
Result

The browser determines the term being defined in this order:

  1. The title attribute on <dfn> itself
  2. The title attribute on an <abbr> inside <dfn>
  3. The text content of the <dfn> element
Result

Customize the appearance of definitions:

Result

Mark only the defining instance, not subsequent uses:

<p>A <dfn>variable</dfn> is a container for storing data.</p>
<p>You can change a variable's value at any time.</p>

Screen readers typically read <dfn> as regular text, but the semantic meaning helps structure the content.

Make sure the definition is clear:

<p><dfn>Cache</dfn> stores data.</p>

For enhanced accessibility in glossaries:

<dl role="list">
<div role="listitem">
<dt><dfn id="term-api">API</dfn></dt>
<dd>Application Programming Interface</dd>
</div>
</dl>
Result
Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <dfn> element has been supported since the earliest browsers.