Computer scienceFrontendHTMLAdvanced elements

The lang attribute

Correct the mistake

Report a typo

Change the lang attribute of the HTML element so that the text corresponds to the language.

Write HTML and CSS code
<!doctype html>
<html>
<body>
<p lang="fr">This text is in British English</p>
</body>
</html>






Completed 0 of 1
Valid
___

Create a free account to access the full topic