SummaryEdit
The HTML Definition Element (<dfn>) represents the defining instance of a term.
HTML5 Usage Notes:
Content categories | Flow content, phrasing content, palpable content. |
---|---|
Permitted content | Phrasing content, but no <dfn> element must be a descendant. |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parent elements | Any element that accepts phrasing content. |
DOM interface | HTMLElement |
AttributesEdit
This element includes the global attributes.
In HTML5, the title
attribute has special meaning, as noted above.
ExamplesEdit
The following examples are valid in HTML5.
<!-- Define "The Internet" -->
<p><dfn id="def-internet">The Internet</dfn> is a global system of interconnected networks that use the Internet Protocol Suite (TCP/IP) to serve billions of users worldwide.</p>
Later in the same document:
<dl>
<!-- Define "World-Wide Web" and reference definition for "the Internet" -->
<dt>
<dfn>
<abbr title="World-Wide Web">WWW</abbr>
</dfn>
</dt>
<dd>The World-Wide Web (WWW) is a system of interlinked hypertext documents accessed on <a href="#def-internet">the Internet</a>.</dd>
</dl>
Result
SpecificationsEdit
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of '<dfn>' in that specification. |
Living Standard | |
HTML5 The definition of '<dfn>' in that specification. |
Recommendation | |
HTML 4.01 Specification The definition of '<dfn>' in that specification. |
Recommendation |
Browser compatibilityEdit
See alsoEdit
Document Tags and Contributors
Tags:
Contributors to this page:
Sheppy,
ragreener1,
Sebastianz,
Jeremie,
eduardojmatos,
kscarfone,
justleroy,
tregagnon,
medicdude,
ethertank,
teoli,
cers,
fscholz,
Spirit55555,
hobophobe,
jswisher
Last updated by:
Sheppy,