What's the difference between the lang attribute and the tag?

I was wondering what's the significance of using the "lang" attribute and how that differs from using the meta "Content-Language" tag?

Consider the following code:

<html lang="en">
    <head>
        <meta http-equiv="Content-Language" content="en-US">
    </head>...

My assumption is that the browser is reading the meta tag's value, but the DOM is concerned with the "lang" attribute. Is this correct? Are there any nuances I'm unaware of?

19
задан mariachimike 14 December 2010 в 06:36
поделиться