W3C home > Mailing lists > Public > www-validator@w3.org > October 2001

Re: Nested lists

From: Clemens Radl <clemens.radl@uni-tuebingen.de>
Date: Tue, 30 Oct 2001 11:06:24 +0100
Message-ID: <008801c1612a$886e8670$80260286@HSMA04>
To: "Rik Nilsson" <rik@shastanetworks.com>, <www-validator@w3.org>

> Your 4.01 spec says lists can be nested - however the validator will not
> accept line 33 of the following URL:
> http://www.saragossa.net/LinuxG3/list-test.shtml
> Why can't a UL be nested inside another UL? or a OL?

Move the "</li>" from line 32 to the end of line 36 and everything works
fine, i. e. the nested ULs have to be inside an LI, because according to the
HTML specification [1] only LIs are allowed as children of UL-elements, but
LIs can contain ULs.



1. <http://www.w3.org/TR/html4/struct/lists.html#h-10.2>
Received on Tuesday, 30 October 2001 05:06:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT