View Full Version : DOCTYPE ... Transitional//EN

11-10-2002, 08:27 PM
can you change the langage

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR" "DTD/xhtml1-transitional.dtd">

or any other langage or is it a fixed value ?

11-10-2002, 09:09 PM
at a guess, i'm gonna say it's a fixed value, though really, i don't see any reason why it shouldn't be variable, aside from the fact that it would be a pain to write out a dtd for every language.

11-10-2002, 09:22 PM
You can even use diferent languages in one document,like shown in the example below from the W3c specs:
<html xmlns="http://www.w3.org/2002/06/xhtml2" xml:lang="fr">
<title>Un document multilingue</title>
<p>...Interpreted as French...</p>
<p xml:lang="en-us">...Interpreted as US English...</p>
<p>...Interpreted as French again...</p>
<p>...French text interrupted by<em xml:lang="ja">some
Japanese</em>French begins here again...</p>

11-11-2002, 06:19 AM
thak you !

and 3 small question on the subject

1) can you use many title, keywords, descriptiom

<title xml:lang="en">...a title here</title>

<title xml:lang="fr">...Un titre ici</title>


2) what is better

xml:lang="en" or only lang="en" ?

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

why do you find on w3 the 2 attributes of langage , xml:lang="fr" l and ang="fr" )

thank you again !

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum