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

[XHTML2] di element?

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sat, 1 Mar 2003 11:58:20 -0500
To: www-html@w3.org
Message-ID: <3E60A05C.19381.AFF55DC@localhost>

Might it be thought worthwhile to add a <di> element to the List 
module? <di> or "definition list item" would work analgous to the 
<tbody> element in the Table module. This would give a way to 
structuraly group items without having to use the class attribute. 
Currently, grouping must be inferred from the convention that
(dt+,dd+) is one definition list item. Back when these elements didn't 
have any attributes this wasn't really a problem, but with the 
proliferation of attributes that could be applied, I think some sort of 
optional grouping element between dl and its dt's and dd's 

This would change the Minimal Content Model for definition lists to:

dl := ((dd | dt)+ | di+) 

di := (dd | dt)+

dd := (PCDATA | Flow)*

dt := (PCDATA | Inline)*

I realize that from the point of view of structure there is little 
difference between:

  <di> ... </di>
  <di> ... </di>
  <di> ... </di>


  <dl> ... </dl>
  <dl> ... </dl>
  <dl> ... </dl>

But the second conveys the meaning of three seperate definition lists, 
while the first conveys one definition list with three groups of dt's 
and dd's.
Received on Saturday, 1 March 2003 11:58:58 UTC

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