W3C home > Mailing lists > Public > www-validator@w3.org > February 2011

Re: How to validate my website?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 4 Feb 2011 17:08:45 +0200
Message-ID: <2BD00C68C4CD4F60A3335F758FF01A8C@JukanPC>
To: "nathalie estrada" <paulinadeporte@yahoo.co.uk>, <www-validator@w3.org>
nathalie estrada wrote:

> I do not manage to valide http://www.poker-killer.com
> Why?

Mainly because the page contains a mix of HTML 4.01 and XHTML 1.0 notations. 
The two don't live well together, formally speaking. The mix as such is 
mostly harmless except for the important problem that it causes so many 
error messages that any really significant markup errors probably go 

In this case, it is probably best to move consistently to XHTML 1.0. Most of 
the error messages are caused by lack of quotation marks around attribute 
values; e.g.
which is OK in HTML 4.01 but needs to be written as
(or lang='en', but double quotes are common practice) in XHTML.

By XHTML rules, _every_ attribute value must be written in quotation marks.

Other problems include lack of style="..." attribute in some elements where 
it is required by both HTML 4.01 and XHTML 1.0 rules, and the (really 
significant) problem that the id attribute value "title_content" appears 
multiple times. The id attribute values must be unique within a document; it 
is their essence to be unique identifiers, for use in e.g. in linking and in 
scripting to identify one single element.

Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Friday, 4 February 2011 15:09:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:03 UTC