Franco wrote:
Quote:
Could u explain me the error that i give from th validation of this
site : www.fsw.it
thank u
Franco |
Franco,
Yes.
You have three paragraphs on the page. The first paragraph contains an
unordered list. Both of these are block-level elements, but HTML does
not permit one block-level element to contain another. See
http://www.w3.org/TR/html4/struct/text.html#h-9.3.1. When the validator
sees the <ul>, it terminates the open paragraph (since the end tag is
optional), then processes the list, then finds an unexpected </p>, thus
generating the error message.
If you move the </p> which terminates the first paragraph AHEAD OF the
<ul> the problem will go away.
It is easy to do this if you are adding </p> tags to an old page on
which all <p> tags were implicitly terminated.
By the way, your THIRD paragraph does not have any </p>.
Regards,
Chris Beall