CKTIS / HTML
dfn — defining instance of a term
The dfn element marks the occurrence of a term where its definition is supplied. It wraps the term, not the whole explanation; a link can target it through id.
Version: WHATWG HTML Living Standard; index snapshot date recorded separately
Syntax
<dfn id="term">term</dfn>dfn marks the defining instance of a term. Its nearest ancestor that is a paragraph, description list group, or section must contain its definition. Mark the term, not the entire explanation.
If dfn has a title attribute, its value is the term. Otherwise, use the title value of an abbr only if it is the sole element child of dfn, it has its own title attribute, and dfn has no direct text nodes. In all other cases, the term is the descendant text of dfn. A title on dfn must contain only the term, not its definition. An ancestor's title does not affect this choice.
The element accepts global attributes and phrasing content, but cannot contain a descendant dfn. Both tags are required. An a link targeting a dfn represents a use of the defined term.
In the example, the first paragraph supplies the definition, and id="token" enables a reference through href="#token". The expected output describes text, not typography.
Examples
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Defining a term</title>
<p>A <dfn id="token">token</dfn> is a named unit in this example.</p>
<p>See the definition of <a href="#token">token</a>.</p>
</html>Result
A token is a named unit in this example. See the definition of token.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.