Skip to content
RankSi

Technical SEO

What is HTML lang attribute?

The lang attribute on the html element declares the language of a page, for example lang="en".

It helps browsers, screen readers and search engines handle the text correctly, from pronunciation to translation offers.

Go deeper

RankSi checks this on the pages of a website. See what a finding looks like in the example report, and how the points add up in how the score works.

More in Technical SEO: HTTP status code, HTTPS.

Sources and specifications

Part of the RankSi glossary. Content library last updated 2026-10-06.

See what to fix first on your website

Free for one website. No credit card.