Reply to Re: <header> Validation Problems - Has the W3C Validator Changed?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация