Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Klaus Trapp
November 2, 2005, 8:41 am
rate this thread
- Benjamin Niemann
November 2, 2005, 11:50 am
Re: xml:lang - content-language
Not much difference. Both specify the default language for the entire
document. xml:lang has the higher priority - if you use both xml:lang (or
lang for HTML docs) and <meta http-equiv="content-language"..> the former
will override the latter.
The xml:lang or lang attribute has the advantage that you can use it on any
element - indicating that a single paragraph or even word has a different
language than the default language.
Email: pink at odahoda dot de
WWW: http://www.odahoda.de /