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

Re: errors on http://www.wandleff.co.uk/

From: David Dorward <david@dorward.me.uk>
Date: Thu, 29 Oct 2009 13:38:46 +0000
Cc: Andrew Wandless <andywandless@btinternet.com>
Message-Id: <A6DD00FF-A660-4B56-ACC3-A824DFABAC56@dorward.me.uk>
To: www-validator@w3.org
On 29 Oct 2009, at 12:43, Dag-Erling Smørgrav wrote:
> That's not a valid doctype declaration.  A valid doctype declaration
> looks like this:
>
> % fetch -qo- http://www.des.no/ | head -3
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'
> 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>

… but without the XML declaration, which is pointless when using the  
default encoding, and pushes Internet Explorer 6 into Quirks mode.

-- 
David Dorward
http://dorward.me.uk
Received on Thursday, 29 October 2009 13:39:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:38 GMT