Technical SEO Important

HTML Lang Attribute

priority_high Why it matters

The lang attribute on <html> helps AI engines identify content language and serve it to the correct geographic audience.

search What we check

Whether the <html> tag has a lang attribute declaring the page's content language.

build How to fix

  1. 1 Add lang attribute to your <html> tag (e.g., <html lang="en">).
  2. 2 Use ISO 639-1 two-letter codes.
  3. 3 For regional variants, use subtags (e.g., lang="en-US").

Does your site pass this check?

This is 1 of 98 checks we run. Find out in under 30 seconds.