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

[whatwg] [html5] Numbering things other than <li>

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 08 Jan 2005 14:42:06 +0100
Message-ID: <41DFE32E.3050709@annevankesteren.nl>
Matthew Thomas wrote:
> Yes, people have lots of fun trying to find the correct markup for this 
> situation. <http://simplebits.com/notebook/2004/04/20/sq.html>
> 
> The general problem is that people want to number (or, less commonly, 
> bullet) series of items that are already in multi-element structures, 
> such that <ol>/<ul> cannot be used. Here, if numbering were not 
> required, you would arguably be using <dl> (since each section is a full 
> definition of the instruction given in its first line), but <dt>s can't 
> be numbered automatically solely with HTML. The same applies to a formal 
> dictionary where definitions <dd> for each term should be numbered. And 
> the same applies to a table where each row <tr> should be numbered.

So DL is the biggest problem here, I guess. Since DT can occure multiple 
times and DD as well. Perhaps we should introduce DI, like XHTML 2.0 to 
take away this problem and a lot of other problems with regard to 
styling DL elements?


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Saturday, 8 January 2005 05:42:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC