Forum Moderators: open

Message Too Old, No Replies

Spanish Meta Tag Content & charset=iso-8859-1

When creating multilingual websites can/should the "content" meta tag be ch

         

USMCspeedy

5:55 pm on Jan 25, 2005 (gmt 0)



When creating multilingual websites can/should the "content" meta tag: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> be changed to reflect the appropriate language? I.E. for Spanish: <META HTTP-EQUIV="Content-Language" content="ES">?

Does ommiting the charset=iso-8859-1 matter for websites in Spanish or can the language tag be added to the original tag: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1; language=ES">?

These questions are naturally posted under the assumption that SEO is vital.

Can anyone help please?

encyclo

7:06 pm on Jan 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com], USMCspeedy.

The best way is to define the document language on the

html
element rather than with a meta tag:

<html lang="es">

And to leave the content-type meta tag as before:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

You should always ensure you define both the content language and the content-type (charset) on all pages.