Forum Moderators: open
I'm building a website that uses the XHTML 1.0 Transitional doctype. Here is the text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
The website will be in Romanian, should I change the doctype to this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//RO"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ro" lang="ro">
Can I change only the last two "en" to "ro" and leave the first "EN" unmodified?
Thanks in advance for any suggestions!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//[b]EN[/b]"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[b]ro[/b]" lang="[b]ro[/b]"> Never change the
EN in the doctype, as that refers to the language of the DTD, not the language of the document itself.