Declaring metadata about the language(s) of the intended audience
This section is specifically about setting metadata for the document as an object. For information about declaring the language of the document for text-processing purposes, see Declaring the overall language of a page.
For detailed advice about how to select the right language tags, see Choosing language values.
HTTP headers, meta elements and language information
For HTML, should we put language declarations in HTTP headers and meta elements, and how are they different from those in language attributes?
How should I set the language of the content in my HTML page? Includes:
Specifying metadata about the audience language
Talks about using HTTP headers to provide metadata.
Describes two different types of language information, 'metadata' and 'text-processing', and how they differ.
HTML5, 220.127.116.11 Pragma directives
How HTML5 deals with a
HTTP 1.1, 14.12 Content-Language
Content-LanguageHTTP header described in the HTTP1.1 specification.
Show more links
HTML 4.01, 8.1 Specifying the language of content: the lang attribute
Content-Languagein the HTML specification: only says that the
htmllanguage attribute has a higher precedence.