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

Re: about a bug

From: David Dorward <david@dorward.me.uk>
Date: Wed, 16 Sep 2009 17:14:39 +0100
Cc: www-validator@w3.org
Message-Id: <231AA070-13F7-4D35-B785-6AAA25FA7A47@dorward.me.uk>
To: Antonio Alessi <a.admin@myway.it>

On 16 Sep 2009, at 17:14, Antonio Alessi wrote:

> Checking it again for to answer to you correctly, I have verified  
> that the mistake depends on my wrong use of the line:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//IT" "http://HARMONY.astrotime.org 
> ">
>
> instead of:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://HARMONY.astrotime.org 
> ">

Both of these are wrong.

See http://www.w3.org/QA/2002/04/valid-dtd-list.html


> Don't know when (I wrote HTML pages since 1994), something in my  
> mind told that the "Transitional//EN" had to be set according to the  
> page's content language and I have never found the time to deepen  
> anymore.

The EN refers to the language of the comments in the DTD, not to the  
language of the document (for that see the lang attribute and the  
Content-Language HTTP header).

-- 
David Dorward
http://dorward.me.uk
Received on Wednesday, 16 September 2009 16:18:47 GMT

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