Re: Netsted lists in W3C's Validation Service (http://validator.w3.org/)

by "apathetic" <tmbkr(at)apatheticgenius.com>

 Date:  Sat, 22 Dec 2001 19:04:37 -0000
 To:  "Yuri Demchenko" <demch(at)terena.nl>
 Cc:  <hwg-techniques(at)hwg.org>
 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.

Tim

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