- From: <Misha.Wolf@reuters.com>
- Date: Thu, 27 Dec 2001 17:05:48 +0000
- To: Karl Ove Hufthammer <huftis@bigfoot.com>
- Cc: g.bartol@comune.prato.it, www-international@w3.org
On 27/12/2001 14:39:21 Karl Ove Hufthammer wrote: > 2001-12-27 14:04:38, Gabriele Bartolini > <g.bartol@comune.prato.it>: [...] > > 3 - How to set the main language of an HTML document > > > > I also have another question regarding the setting of the > > language of an HTML document. How can I set it and through > > which tags? [...] > > Or should I use a generic tag with the lang > > attribute properly set? Do you think that : > > > > <html lang="it"> > > [ here goes the document ] > > </html> > > > > works? > > Yes. (AFAIK, it doesn't have any effect in current browsers, > but it's the correct way to specifiy the language, in addition > to the HTTP 'Content-Language' header, of course.) I agree that this is the correct approach. AFAIK, IE uses the document language to select between Han fonts. Search engines may use the document language to increase precision. Misha -------------------------------------------------------------- -- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
Received on Thursday, 27 December 2001 11:59:36 UTC