HTML Lang & Charset Validator

Verify the root html lang attribute, UTF-8 charset declaration, and valid document structure on any URL.

Common questions

Why does <html lang="en"> matter?

Screen readers rely on the lang attribute to choose the right pronunciation voice, and search engines use it for language targeting.

Should Canadian sites use en-CA or en?

Either en or en-CA works cleanly; use en-CA and fr-CA if you serve bilingual Canadian audiences.