Definition Tag

The element in question is <dfn>. Jen Kramer and Erika Lee are running a #30DaysofHTML email list on Substack, and it's simple enough to subscribe to. Only a few days in, every installment has included small useful details, even for someone who considers his own grasp of HTML fairly solid. Day 4 covers <dfn>.

The author admits he could have said that <dfn> stands for "definition," but he doesn't reach for it as often as he probably should and couldn't give a straight answer on exactly when to use it.

He thinks Erika nails that question:

<p>He is not as enamored with <dfn id="kong">King Kong</dfn> 
  who resembles an enormous gorilla-like ape that has appeared 
  in various media since 1933. </p> 

...

<p>Complaints about <a href="#kong">Kong</a> include how he 
  has no atomic fire breath.</p> 

The appeal, as he puts it, is defining a term naturally and contextually inside a block of text, then pointing back to it later with an anchor link when needed.

Direct Link →