LanguageDescription:The language attribute indicates the language of the element referred to by the tag. You may use this attribute on any tag which surrounds text, including <HTML>, <BODY>, <P> and so on. This element is useful for many things, including but not limited to the following.
The format is as follows:
where "primary" is the primary language code. These include:
And "sub" is a subcode indicating a sub-language. For example, en-US means English of the United States dialect. All of the subcodes are defined in the ISO 3166 specification. Examples:
|