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

Jukka K. Korpela jkorpela at cs.tut.fi
Sat Jul 14 09:41:13 PDT 2012


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:
http://www.cs.tut.fi/~jkorpela/html/ul-ol.html

Yucca



More information about the whatwg mailing list