I have been doing a lot of W3C error fixing for the websites that we look after at work. Recently the W3C validator was updated and ever since that happened a lot of my pages have been failing asking me to add the line…
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
First question I have is what does this line of code do and why were my pages passing fine without it ?
I don’t want to go back through all my sites just adding this line of code as they cover the whole of Europe and are in different languages. For example for a Swedish site should I be adding the line….
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="se” lang="se">
If anyone can enlighten me on this subject I would appreciate it.
Thanks.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
First question I have is what does this line of code do and why were my pages passing fine without it ?
I don’t want to go back through all my sites just adding this line of code as they cover the whole of Europe and are in different languages. For example for a Swedish site should I be adding the line….
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="se” lang="se">
If anyone can enlighten me on this subject I would appreciate it.
Thanks.