W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2005

[whatwg] Correction for <dl> Example

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 13 Oct 2005 21:50:00 +1000
Message-ID: <434E49E8.20306@lachy.id.au>
   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
Received on Thursday, 13 October 2005 04:50:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC