htmlelement has no
xml:langattributes, but the
bodyelement has a
langattribute with the value for German ("de").
bodyfor primary language of content in German
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. It is not strictly required that the language code should be defined on the
html element, although that is what would be expected. Only the primary language is tested here, not language changes inside the content.
Can you determine the language of the text?
The browser cannot find the primary language of the document but it may be able to find the primary language of the content.
html element has no
xml:lang attributes but the
body has appropriate