W3C home > Mailing lists > Public > www-international@w3.org > July to September 2008

Re: meta content-language

From: Leif Halvard Silli <lhs@malform.no>
Date: Fri, 22 Aug 2008 02:26:39 +0200
Message-ID: <48AE07BF.1020001@malform.no>
To: Ian Hickson <ian@hixie.ch>
CC: 'HTML WG' <public-html@w3.org>, "www-international@w3.org" <www-international@w3.org>

Ian Hickson 2008-08-21 03.36:

>> Also, the Content language selection algorithm in makes no 
>> mention of <html lang=.. as a way of identifying the default language, 
>> which it actually does if it is present, since it has higher priority 
>> than HTTP metadata.
> <html lang=""> only sets the language for the content of the <html> 
> element, it doesn't set the language for, e.g., comment nodes outside the 
> <html> element. See the definition of lang="" in HTML5 for details. 

So, is the idea is that if we have this code:

<!-- This is English, actually! -->
<DOCTYPE html>
<meta http-equiv="Content-Language" content="ru">

Then the META element declares that the comment is in Russian?


leif halvard silli
Received on Friday, 22 August 2008 00:27:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:56 UTC