There are four places where language information can be declared:
In the HTTP Content-Language header. This header is not part of the document, but is sent along with the document by a server. Language information is not always sent, but can be. The following is an example of the top and bottom of an HTTP header, that shows the language information on the bottom line.
HTTPHTTP/1.1 200 OK Date: Wed, 05 Nov 2003 10:46:04 GMT Server: Apache/1.3.28 (Unix) PHP/4.2.3 … Content-Type: text/html; charset=utf-8 Content-Language: en, fr, sp
In a language attribute on the html tag. For example:
<html lang="en">
In a meta element in the document head with the content attribute set to Content-Language. For example:
<meta http-equiv="Content-Language" content="en,fr,sp" />
In a language attribute on an element within the document. For example:
<p>The French word for <em>cat</em> is <em lang="fr">chat</em>.
Version: $Id: Slide0100.html,v 1.3 2006/02/02 10:05:47 rishida Exp $