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: Sun, 15 Jul 2012 19:43:18 +0300
Message-ID: <5002F326.3070405@cs.tut.fi>
To: whatwg@lists.whatwg.org
2012-07-15 17:40, Ian Yang wrote:

 > Throughout the article, I saw it mentioned "bullets" and "numbers"
 > frequently. However, that's just browsers' default rendering of <ul> and
 > <ol>.

It's the only real difference between the two.

 > As a coder, personally I don't care how browsers render them by
 > default.

You should. Check out the Usual CSS Caveats.

 > What I care is the meaning of the code I write. That is, when I
 > want an unordered list, I write <ul>; when I want an ordered list, I 
 > <ol>. <ul> means unordered list, and <ol> means ordered list.

And what does that mean? Does it mean that browser may or will treat 
<ul> as unordered in the sense that it can render the items in any 
order? If not, what *is* the difference? Just some people's *calling* it 

Received on Sunday, 15 July 2012 16:43:50 UTC

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