A page with the first few sentences of Theodor Fontane's novel "Effi Briest", in German. The html element has lang and xml:lang attributes with the value for English ("en"). The body element has lang with the value for German ("de"). Correct <html:code>lang</html:code> attribute on <html:code>body</html:code> for primary language of content in German - override language information of <html:code>html</html:code> element Christophe.Strobbe@esat.kuleuven.be en Copyright BenToWeb 2004-2007 2005-09-01 draft Specifying the language of content: the lang attribute

This test case is intended to pass because the primary natural language of the content is correctly defined. Tests should show that defining the primary natural language on the body element instead of the html element does not cause problems. Only the primary language is tested here, not language changes inside the content.


Can you determine the language of the text?

The browser can find the primary language of the document.

The html element has lang and xml:lang attributes and the body elment has a lang attribute with the correct value for the body content.