Re: Ordered Lists

by "Frank Boumphrey" <bckman(at)ix.netcom.com>

 Date:  Sat, 2 Sep 2000 02:38:06 -0400
 To:  <hwg-techniques(at)hwg.org>
  todo: View Thread, Original

I now see what happened!

The original document had

<ol>
<li><a href="Camping/index">Camping</a></li>
 <ol>
 <li><a href="Camping/wawbeek">Camp Wawbeek</a></li>
  <ol>

And was invalid because ol was had another ol as content

When you removed the end tags the validator put them in the correct places
<ol>
<li><a href="Camping/index">Camping</a>
 <ol>
 <li><a href="Camping/wawbeek">Camp Wawbeek</a>
  <ol>

Check the box marked show parse tree to see how the validator views your
document. Note it folds every thing to uppercase AND puts in the closing LI
tags in the correct places!

Frank
----- Original Message -----
From: "Cindy Stanley, SSS WebWorks" <stanleysupport(at)prodigy.net>
To: "Frank Boumphrey" <bckman(at)ix.netcom.com>
Sent: Saturday, September 02, 2000 1:50 AM
Subject: Re: Ordered Lists


> From: Frank Boumphrey <bckman(at)ix.netcom.com>
> >When I ran the url http://www.ssswebworks.com/hwgoltest.htm through the
W3
> >Validator I got a no errors found message!
> >
> >Did you get an error?
>
> no errors found, which means it validates, no? ... that is why I said
remove
> the end li tags and it will validate (as she originally marked up the
> document, but w/out the end li tags).
>
>
> >> Cindy Stanley wrote:
> >> >> <li> is a singleton tag, requiring no closing. The end tag is
> optional.
> >> >> Remove all your </li> and the document will validate under your
> >> > >transitional doctype.
> >> >>but, it does (validate)... go figure.
> >>
> >> From: Frank Boumphrey <bckman(at)ix.netcom.com>
> >> >then the validator you are using is wrong.
> >>
> >> hmmm ... I don't think so, at least not in my opinion :)
> >>
> >>  >Try using the W3C validator written incidently by an HWG member!
> >>
> >> "Incidently", that is the only validator *this HWG member* uses. I
would
> >> have never mentioned it validated, if I hadn't checked w/ the W3C
first.
> >>
> >> <http://www.ssswebworks.com/hwgoltest.htm>
> >>
> >> see for yourself
>

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