<meta name="language" content="Spanish">
This is not defined in any specification (including the HTML5 project )
<meta http-equiv="content-language" content="es">
This is the bad person version of the real HTTP header and should really be expressed in the headers. For example:
Content-language: es Content-type: text/html;charset=UTF-8
It states that the document is intended for speakers of Spanish (it does not mean, however, that the document is written in Spanish, it can, for example, be written in English as part of a language course for Spanish speakers).
From the specification :
The Content-Language object header field describes the natural language of the target audience for the closed object. Note that this may not be equivalent to all languages ββused in the entity.
If you want to indicate that the document is written in Spanish, use:
<html lang="es">
Quentin Dec 11 '10 at 17:24 2010-12-11 17:24
source share