<dfn>
Example
<p>
<i>Latency</i> is the delay before data arrives.
</p><p>
<dfn id="latency">Latency</dfn> is the delay before data arrives.
</p><dfn> marks where the term is defined, and the id lets later mentions link back to it.
Common mistakes
- Wrapping every mention of the term in
<dfn>instead of only the defining one. - Using
<dfn>without the definition being in the same paragraph or section.
Interview questions
What is the difference between <dfn> and <dl>?
<dfn> and <dl>?<dfn> marks a term defined inline in prose, while <dl> with <dt> and <dd> builds a list of terms and descriptions.
Can I use <abbr> inside <dfn>?
<abbr> inside <dfn>?Yes. Nest <abbr title="..."> inside <dfn> when the defined term is an abbreviation.