Browser API
HTML lang attribute
Declare the language of content using a language tag.
Formal Syntax & Structure
react syntaxreact
lang="en-GB"Working Example
Example Snippetreact
<section lang="en-GB">...</section>Declare the language of content using a language tag.
lang="en-GB"<section lang="en-GB">...</section>