Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Are keywords language/DOCTYPE dependent ?
- Wladimir Borsov
January 28, 2004, 8:37 am
rate this thread
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This refers to english HTML content/syntax. Later then I declare:
<META NAME="keywords" CONTENT=".... ... .... ">
Should the keywords also be in english? or is it possible to enter words from
(and with other language specific chars like german umlaute, french accents,
spanisch question marks,...)?
Do visiting search engines understand a mix of words from multiple languages ?
Can I enter speical chars like the german "Ä" directly or do I have to type
Ä inside the META-Tags ?
Re: Are keywords language/DOCTYPE dependent ?
You believe wrong. It does not specify a (human) language at all. That's
not what DOCTYPEs are for.
To specify the language of the document do one or more of:
1. Set the "Content-Language" HTTP header.
2. Use a http-equiv="Content-Language" <meta> tag.
3. Set the lang attribute on the <html> element.
This is an unrelated matter and has to do with the character set specified
on the page -- not the language. To specify which character set you are
using, do on of more of the following:
1. Add a charset attribute to the "Content-Type" HTTP header.
2. Use a http-equiv="Content-Type" <meta> tag and specify a charset
However, entities and character references, such as "Ä" should work
all the time: doesn't matter which charset you're using.
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132