I'm just creating a new site from scratch. Each page in that site will have a default language and I'd like the markup to reflect it because there will be multiple languages.
I'm using HTML 4.01 and I'm targetting older browsers as well (e.g. IE 6, Opera 8, Lynx etc.). Regarding cross-browser compatibility as well as of "best practices" where to place the
lang attribute: To the
HTML tag or to the
BODY tag or does this make no difference at all?
I'm going towards the
BODY tag as it contains all the default languages text, while the
HEAD might not always. But I have no clue if any browser is taking care of the
lang attribute anyway. Any hints?