"Franco" <fr****@intenet.net> wrote in message
news:a4**************************@posting.google.c om...
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.