Re: about a bug

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 UTC