W3C home > Mailing lists > Public > www-international@w3.org > October to December 2001

Re: Defining the language of a document

From: <Misha.Wolf@reuters.com>
Date: Thu, 27 Dec 2001 17:05:48 +0000
Message-ID: <T5815a6eb7bc407b706800@reuters.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:58 GMT