[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errata.html fix



On Fri, 21 Nov 2003 11:16:20 +0000 (GMT)
Tom Cosgrove <tom_(_dot_)_cosgrove_(_at_)_arches-consulting_(_dot_)_com> wrote:

> Err... not sure why you want to remove the <li>s?
> 
> You know these are all in a definition list (<dl>), don't you?

LIs in a DL?

I believe LIs can only appear in OLs and ULs (and other deprecated
containers).

As the specs say:

<!ELEMENT DL - - (DT|DD)+              -- definition list -->
<!ELEMENT OL - - (LI)+                 -- ordered list -->
<!ELEMENT UL - - (LI)+                 -- unordered list -->

and when I try to validate the document I get a bunch of these (among
other) errors:

# Line 127, column 3:  document type does not allow element "LI" here;
  missing one of "UL", "OL", "DIR", "MENU" start-tag

  <li><h3><font color="#e00000">i386</font></h3>
  ^

	- Jared



Visit your host, monkey.org