All checks / Technical
Missing lang attribute on <html>
The lang attribute on the <html> element tells search engines and screen readers what language the page is in.
Critical
missing-lang
In SEOCode's checks since 30 Apr 2026
What it checks
Why this matters.
The lang attribute on the <html> element tells search engines and screen readers what language the page is in.
Runs on .html · Critical checks fail the pull request status, so the change cannot merge until it is fixed.
The fix
How to resolve it.
Add lang="en" to your <html> tag: <html lang="en">. Replace 'en' with the correct BCP 47 language code.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Technical
Related checks.
Crawling, indexing, rendering and the directives that can take a page out of search.
Missing viewport meta tag Critical
Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.
Missing charset declaration Warning
Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.
Missing canonical tag Warning
Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).
noindex directive detected Critical
A meta robots noindex tag was found.
Missing favicon Info
A favicon improves brand recognition in browser tabs and bookmarks.
Back button hijacking spam policy Critical
Google has added 'back button hijacking' as a named malicious practice in its spam policies.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card