W3C home > Mailing lists > Public > www-html@w3.org > October 2003

Re: XHTML2 dt/dd Nesting

From: Alexander Savenkov <w3@hotbox.ru>
Date: Sun, 5 Oct 2003 23:15:53 +0400
Message-ID: <46133897.20031005231553@hotbox.ru>
To: "Jens Meiert" <jens.meiert@erde3.com>
Cc: www-html@w3.org


2003-10-05T18:30:38Z Jens Meiert <jens.meiert@erde3.com> wrote:

> I don't think there is a 'lack of connection between the terms and
> the descriptions (...)' since each definition term is followed by
> its description.
I think there is one. The two elements ('dt' and 'dd') can be placed
in any order. The more elements you have the harder it gets to
distinguish between the definitions and descriptions.

<!ELEMENT dl (dt|dd)+>

That is, your statement that "each definition term is followed by its
description" is a guess. There's no harm if we have, say, a 'for'

Sample dictionary:
...(other definitions)
 <dt id="w3c">W3C</dt>
 <dd>Abbreviation of the World Wide Web Consortium.</dd>
...(other definitions)
 <dt id="wwwc">World Wide Web Consortium</dt>
 <dd for="w3c wwwc">An international organization...</dd>
...(other definitions)

Useful, isn't it?

  Alexander "Croll" Savenkov                  http://www.thecroll.com/
  w3@hotbox.ru                                     http://croll.da.ru/
Received on Sunday, 5 October 2003 15:21:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:05 UTC