Re: Unordered List
by "Lauren Hanka" <bluejay(at)starband.net>
|
Date: |
Sun, 20 May 2001 19:11:38 -0700 |
To: |
<hwg-basics(at)hwg.org> |
References: |
vaio |
|
todo: View
Thread,
Original
|
|
Hello again,
I'd like to take this opportunity to answer my own question, and I'd like to
thank Maria for posting the link to www.netmechanic.com , which is where I
found my answer.
I hope this helps someone else...
When creating an unordered list in an HTML 4.0 document, the FONT TAGS, must
be placed as follows (there is no need to close the <li> tag in an HTML 4.0
doc):
<ul>
<li><FONT FACE="whatever">blah blah</FONT>
<li><FONT FACE="whatever">blah blah</FONT>
<li><FONT FACE="whatever">blah blah</FONT>
<li><FONT FACE="whatever">blah blah</FONT>
<ul>
<li><FONT FACE="whatever">blah blah</FONT>
<li><FONT FACE="whatever">blah blah</FONT>
<li><FONT FACE="whatever">blah blah</FONT>
</ul>
</ul>
CSS, here I come...
Thanks to all who took the time to respond --I appreciate your input,
Lauren
----- Original Message -----
From: "Lauren Hanka" <bluejay(at)starband.net>
To: <hwg-basics(at)hwg.org>
Sent: Sunday, May 20, 2001 5:42 PM
Subject: Unordered List
> 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