W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2012

Re: [whatwg] Suggest making <dt> and <dd> valid in <ol>

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 14 Jul 2012 19:41:13 +0300
Message-ID: <5001A129.20704@cs.tut.fi>
To: whatwg@lists.whatwg.org
2012-07-14 18:51, Ian Yang wrote:

> If <ol> is no more and no less ordered than <ul>,
> what's the purpose of its introduction?

The real purposes, in the dawn of HTML, were that <ol> and <ul> 
correspond to numbered and bulleted lists, respectively, reflecting two 
very common concepts in word processors. This is how they have been 
used, though some authors have started overusing <ul> for thinks like 
lists of links even when they specifically don't want them to appear as 
bulleted. Even W3C specifications, in their markup, switch to <ul> in 
the midst of hierarchy when they want bullets and not numbers.

HTML5 tries to stick to the theoretical idea of "ordered" vs. 
"unordered" list, but it does not really change anything, and it is not 
supposed to change anything - any <ul> will still be rendered in the 
order written.

More on this:

Received on Saturday, 14 July 2012 16:41:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:43 UTC