|
Posted by J.O. Aho on 01/21/07 13:50
Roy Schestowitz wrote:
> Hi folks, I haven't posted here in a long time, so please be gentle.
> :-)
>
> One problematic page of mine used to validate until some time
> recently when, apparently, something changed in the validator. I
> don't think I have changed anything in the code/markup.
>
> http://validator.w3.org/check?uri=http://schestowitz.com/
>
> I wish I had an idea how to resolve this, but I don't know where
> to start. Can someone lend me a hand here? Please?
The validator gives the following explanation for your first error:
One common cause for this error is the use of XHTML syntax in HTML
documents. Due to HTML's rules of implicitly closed elements, this
error can create cascading effects. For instance, using XHTML's
"self-closing" tags for "meta" and "link" in the "head" section of
a HTML document may cause the parser to infer the end of the "head"
section and the beginning of the "body" section (where "link" and
"meta" are not allowed; hence the reported error).
Looking at your source, we have line 27:
<link rel="pavatar" href="http://schestowitz.com/roy.png" />
By copy your source, and remove the ' /' from line 27 and then run "Validate
by Direct Input", the validator gave the following result:
This Page Is Valid HTML 4.01 Transitional!
So conclusion, don't mix xhtml into html.
--
//Aho
[Back to original message]
|