Home / Tools / Add the lang attribute to your html tag
On-Page SEO · Scan Check Guide

Add the lang attribute to your html tag

10 min Impact: medium Effort: low ✓ Scan-verified — no manual checkbox

The lang attribute on your <html> tag tells browsers and screen readers what language the page content is in — used for correct pronunciation by assistive technology, browser translation prompts, and as a minor signal to search engines about content language targeting.

The lang attribute tells browsers and screen readers what language your page is in — affecting translation prompts, pronunciation, and accessibility tools.

How to fix it

  1. 1
    Add the lang attribute
    <html lang="en"> (or the appropriate language/region code) at the top of every page.
  2. 2
    Match it to your actual content language
    If you serve multiple languages on different pages, each should declare its own correct lang value.

Common mistakes

How you'll know it's done

Every page's <html> tag has a correct lang attribute matching its actual content language.

H.I.V.E. checks this automatically

Fix it, then re-scan — the check confirms itself. No manual checkbox, the scan is the truth.

Run this check in H.I.V.E. →