[whatwg] Correction for <dl> Example

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


Hi,
   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:

<dl>
  <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>
</dl>

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

-- 
Lachlan Hunt
http://lachy.id.au/




More information about the whatwg mailing list