- From: Ernest Cline <ernestcline@mindspring.com>
- Date: Sat, 1 Mar 2003 11:58:20 -0500
- To: www-html@w3.org
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: <dl> <di> ... </di> <di> ... </di> <di> ... </di> </dl> and <div> <dl> ... </dl> <dl> ... </dl> <dl> ... </dl> </div> 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