Re: Netsted lists in W3C's Validation Service (

by "apathetic" <tmbkr(at)>

 Date:  Sat, 22 Dec 2001 19:04:37 -0000
 To:  "Yuri Demchenko" <demch(at)>
 Cc:  <hwg-techniques(at)>
 References:  terena tim terena2
  todo: View Thread, Original
> <!ELEMENT UL - - (LI)+                 -- unordered list -->
> <!ELEMENT OL - - (LI)+                 -- ordered list -->
> <!ELEMENT LI - O (%flow;)*             -- list item -->
> But still HTML 4.01 specification doesn't tell me that nested list
> should be included into previous <li> element.

It looks to me like UL and OL may only contain LI elements.  This means that
everything else, including other UL or OL elements, must be within the LI.


HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA