I peeked inside the source of a public website which uses the XHTML 1.0 Strict DOCTYPE and noticed that it specifies two attribute related to the language of the page.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
The page is in Japanese by the way. My question is this:-
I suspect that the attribute xml:lang & lang do not affect the rendering of the page in the browsers. It is the Content-Type in the HTTP Header which specifies the encoding of the page. Am I correct ?