http-equiv=content-language alternative - the way of specifying document language

Posted by tugberk on Pro Webmasters See other posts from Pro Webmasters or by tugberk
Published on 2011-11-28T14:26:46Z Indexed on 2011/11/28 18:53 UTC
Read the original article Hit count: 358

Filed under:
|
|
|

Lots of web sites uses following meta tag to specify the default language of the document:

<meta http-equiv="content-language" content="es-ES">

When I go to w3c site:

http://www.w3.org/TR/2011/WD-html-markup-20110113/meta.http-equiv.content-language.html#meta.http-equiv.content-language

I get this:

Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead.

What is the way of specifying document language now?

© Pro Webmasters or respective owner

Related posts about seo

Related posts about html