Question 4 of 7
Category: Assistive Technologies
True or False: The lang
attribute should only be set once per page.
Correct
The lang
attribute must be set on the html
tag to set the primary language of the page. For any instances within the page where the language changes, such as quoting text from another language, the lang
attribute can also be set on those elements.
Incorrect
The lang
attribute must be set on the html
tag to set the primary language of the page. For any instances within the page where the language changes, such as quoting text from another language, the lang
attribute can also be set on those elements.
The lang
attribute must be set on the html
tag to set the primary language of the page. For any instances within the page where the language changes, such as quoting text from another language, the lang
attribute can also be set on those elements.