Catalog › Markup › Invalid lang attribute

Invalid lang attribute

<html lang> is missing or not a valid BCP-47 tag. Search engines and screen readers cannot determine the page language.

Check IDINVALID_LANG
CategoryMarkup
SeverityNotice
PlansAvailable on every plan

How to fix it

Set a valid lang attribute on the <html> element (for example, lang="en" or lang="en-US").

Catch it on your site

Wrendex catches invalid lang attribute on every audit. No credit card, all 140+ checks, full PDF report.

Run free audit