Click here to get back home

validation

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
validation Franco 09-02-2004
|--> Re: validation Harlan Messinge...09-02-2004
|--> Re: validation Lachlan Hunt09-02-2004
`--> Re: validation Jan Roland Erik...09-02-2004
Get Chitika Premium
Posted by Franco on September 2, 2004, 8:15 am
Please log in for more thread options
Could u explain me the error that i give from th validation of this
site : www.fsw.it

thank u
Franco


Posted by Karl Groves on September 2, 2004, 11:30 am
Please log in for more thread options

> Could u explain me the error that i give from th validation of this
> site : www.fsw.it
>

You have a <p> which contains a <ul>
End the <p> before the <ul> starts.

-Karl




Posted by Harlan Messinger on September 2, 2004, 11:31 am
Please log in for more thread options

> Could u explain me the error that i give from th validation of this
> site : www.fsw.it
>

"Line 54, column 5: end tag for element "P" which is not open"

Your </p> on line 54 is meant to match the <p> on line 44. But in between
you have a UL element (unordered list). A P element (paragraph) can only
contain inline code. It can't contain blocks. A list is a block.

The reason you didn't get an error back at line 47, where the <UL> for the
list is located, is that the end tag for a P element is optional. Therefore,
when the validator is in the middle of a P element and it finds the start
tag for something that isn't allowed in the P element, it just assumes that
the P element ends there, pretending there is a </p> immediately preceding
the new start tag (the <UL> in this case). In other words, it tries to avoid
finding an error at that point. Therefore, the validator is happy until you
get to the </p> on line 54, at which point you're not *in* a P element, so
you've got an end tag with no corresponding start tag.



Posted by Neal on September 2, 2004, 1:38 pm
Please log in for more thread options

> Could u explain me the error that i give from th validation of this
> site : www.fsw.it
>
> thank u
> Franco


I just answered you in c.i.w.a.site-design. If you had NOT multi-posted
this, you would have saved me time.

Rather insensitive of you. If you wish to get advice from more than one ng
on the exact same question, cross-post it so we may see if it's been
answered already.


Posted by Lachlan Hunt on September 2, 2004, 3:53 pm
Please log in for more thread options
Franco wrote:

> Could u explain me the error that i give from th validation of this
> site : www.fsw.it

Yes, you have attempted to include a list inside a paragraph, but
according to the HTML4 DTD, <p> cannot contain <ul> elements. Also,
then end tag for <p> is optional, thus it is automatically being closed
in the DOM when the <ul> is encountered, so the <p> is no longer open
when the </p> is reached.

Either take out the </p> entirely, or just move it to the end of the
paragraph, before the start of the list.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to abuse@127.0.0.1
Thank you.


Similar ThreadsPosted
help with validation July 30, 2004, 5:22 pm
validation November 28, 2004, 3:12 am
HTML validation November 4, 2004, 12:41 am
POST validation October 6, 2005, 2:45 pm
form validation November 28, 2004, 1:14 am
DTDs, www & validation December 10, 2004, 10:27 pm
3 questions on validation September 29, 2005, 12:31 pm
W3C Validation Problems June 25, 2005, 4:21 am
How important is validation? August 13, 2005, 11:59 am
Validation problem December 13, 2007, 3:22 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap