Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

XHTML: Suggestion to add a attribute for multi language documents

From: Matthias Mauch <matthias.mauch@aadmm.de>
Date: Sat, 15 Apr 2006 21:37:18 +0200
To: www-html@w3.org
Message-Id: <1145129838.7452.12.camel@aragorn.local>

If an XHTML document have following language attribute 

<html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en" lang="en">

it's possible that this document uses english language. But if the
content uses english and german language there ist no language
attribute for multi language. At present the only way to do this
is to define in the DocType the first language

<html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en" lang="en">

and switch in the content with 

<span lang="de" xml:lang="den"> 

to the german part. This should works with screenreaders. Is it 
possible the add an attribute who defines a document as multi 
language?
Received on Saturday, 15 April 2006 19:34:35 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.