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

RE: dl, dd, dt in XHTML 2.0

From: Marcos Caceres <marcos@datadriven.com.au>
Date: Tue, 20 May 2003 20:59:51 -0700
To: <www-html@w3.org>
Cc: "'Rowland Shaw'" <Rowland.Shaw@crystaldecisions.com>, "'Ernest Cline'" <ernestcline@mindspring.com>
Message-ID: <000001c31f4d$703dff80$b190b583@provenance>

Rowland, those examples are great. I hadn't gone as far as thinking about it
in conjunction with xml:lang. I think this combined with Ernest 'di'
(definition item) solution would make for a nice improvement to definition

Another option that gets rid of the need for an encapsulation option might
be to explicitly state which term a definition is referring by using an
element's id... maybe something like this: 

  <dd refTerm="Foo2">bar1</dd>
  <dt id="Foo1">Foo1</dt>
  <dt id="Foo2">Foo2</dt>
  <dd refTerm="Foo1">bar2</dd>
  <dd refTerm="Foo1" xml:lang="en-gb">bar3</dd>

Where the 'refTerm' attribute would reference a dt element's id attribute. 

Personally, I prefer Ernest <di> ... </di> solution: I think it's easier to
use, looks semantically and structurally sound, and inline with the way
other lists are constructed.

Received on Tuesday, 20 May 2003 06:54:15 UTC

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