# Why the html lang attribute matters

> The lang attribute tells browsers, search engines and screen readers what language the page is in. It affects translation prompts, hyphenation and pronunciation.

Technical SEO · HTML version: https://getreport.app/learn/html-lang

## Page language

Passing looks like: The <html> element declares its language.

**Why it matters.** The lang attribute tells search engines and translation tools which language the page is in, and lets screen readers pick the right pronunciation.

**How to fix it.**

1. Add lang to the html element, for example <html lang="hr"> or <html lang="en-GB">.
2. In WordPress the theme prints it from Settings → General → Site Language.

Check your own page: https://getreport.app/
