We respect your privacy.

We use strictly necessary cookies to keep you signed in and to protect against CSRF. With your permission we also use a small amount of first-party analytics to improve the product. We do not sell your data and we do not use third-party advertising trackers. See our cookie policy and privacy policy .

← All learn topics

Rule page.lang.missing

Set <html lang>

page.lang.missing is a check in Crawlmind's site audit that grades low-impact issues of this kind. This page explains why the rule matters and the exact fix.

Impact: lowEffort: lowFixable: 1-click

Why it matters

The `lang` attribute tells crawlers, screen readers, browser translators, and AI assistants what language the page is in: and which voice/dictionary to use. Missing `lang` defaults every consumer to a guess that's wrong about as often as it's right.

The fix

```html
<!-- BCP 47 language tag -->
<html lang="en">
<!-- Region-specific (only when content actually differs by region) -->
<html lang="en-GB">
```

References