Unordered List

by "Lauren Hanka" <bluejay(at)starband.net>

 Date:  Sun, 20 May 2001 17:42:02 -0700
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
Hi All--

I have created an unordered list within a body of text, which is inside a
nested table like this:

<ul>
 <li>blah blah
 <li>blah blah
 <li>blah blah
 <li>blah blah
  <ul>
   <li>blah blah
   <li>blah blah
   <li>blah blah
  </ul>
</ul>

It will not validate, and I get the following message:

"Error: element "UL" not allowed here; possible cause is an inline element
containing a block-level element (explanation...)"

Then, when I click on the "explanation," I get:

"'document type does not allow element "FOO" here' Straightforward, but not
terribly informative. There are a lot of different errors that will generate
this error message: Using an unknown tag. In this case, the next error will
be "element `FOO' undefined". Using a tag in the wrong place."

Although this is the method W3C instructs to create an unordered list, and
I've researched, and fudged, and fidgeted with this, I still cannot get it
to validate. It seems like it should be so simple. Where am I going wrong?

Thanks,
Lauren

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA