W3C home > Mailing lists > Public > www-validator@w3.org > October 2012

Re: Solve error

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 15 Oct 2012 21:30:59 +0300
Message-ID: <507C5663.9040602@cs.tut.fi>
To: "Bas Willemse | ReisStore.nl" <info@reisstore.nl>
CC: www-validator@w3.org
2012-10-13 14:42, Bas Willemse | ReisStore.nl wrote:

> How can we solve this problem:
>
> /Line 3, Column 1/: Missing xmlns attribute for element html. The value
> should be: http://www.w3.org/1999/xhtml

This looks like a rather straightforward issue. You are using an XHTML 
doctype; therefore, the xmlns attribute (with the given value) is 
required. It will not have any impact, except in the remotely possible 
case where your document will be served as genuine XHTML (i.e., with an 
XML content type).

> for http://www.eccoitalia.nl

It seems that the page is based on a template similar to HTML5 
Boilerplate but with an XHTML doctype. The page appears to contain a mix 
of HTML 4.01 / XHTML 1.0 and HTML5, so it won't validate as such, no 
matter which doctype you use.

Yucca
Received on Monday, 15 October 2012 18:31:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 October 2012 18:31:34 GMT