[whatwg] Correction for <dl> Example

Lachlan Hunt lachlan.hunt at lachy.id.au
Thu Oct 13 04:50:00 PDT 2005

   In the examples following the definition for the dl element [1], 
there's a definition for color/colour provided.  However, in the 
description for the dt element, it is noted that "the dt element itself 
does not indicate that its contents are a term being defined, but this 
can be indicated using the dfn element."

Thus, this example should probably be modified to include the <dfn> element:

  <dt lang="en-US"> <dfn>color</dfn> </dt>
  <dt lang="en-GB"> <dfn>colour</dfn> </dt>
  <dd> A sensation which (in humans) derives from the ability of
  the fine structure of the eye to distinguish three differently
  filtered analyses of a view. </dd>

[1] http://whatwg.org/specs/web-apps/current-work/#dl0

Lachlan Hunt

More information about the whatwg mailing list