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.
Related terms
More in Technical SEO: HTTP status code, HTTPS.
Sources and specifications
Part of the RankSi glossary. Content library last updated 2026-10-06.