Previous Message
Next Message

ot] <ol> within <ol>

Sent by liorean on 29 September 2004 18:06


On Wed, 29 Sep 2004 12:33:00 -0400, Rick Pasotto [EMAIL-REMOVED]> wrote:
> Also, which is correct:

Look at the DTD: (this is from [HTML4.01 Strict])

    <!ELEMENT OL - - (LI)+                 -- ordered list -->

And similarly if you want to see how it is defined in transitional or
XHTML, here's [XHTML1.0  Transitional]:
    <!ELEMENT ol (li)+>

Here, you see that the only element that may be a child of an ordered
list is the list item. So, you must use <ol><li><ol/></li></ol>
instead of <ol><ol/></ol>.
-- 
David "liorean" Andersson
<uri:http://liorean.web-graphics.com/>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: