HTML Element
  • 30 Mar 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

HTML Element

  • Dark
    Light
  • PDF

Article Summary

Lang attribute

To improve crawlers' language recognition, you should always define the lang attribute on your <html> elements, which allows the crawler to differentiate if your content is available in multiple languages while screen readers assign the correct pronunciation to your page.

Example implementation:

<html lang="en">
...
<p>English content</p>
</html>

Find more detailed information here.


Was this article helpful?

What's Next