i am an idiot guys
All my life I thought the basic HTML structure was
<!Doctype HTML>
<head>
</head>
<html>
<body>
</body>
</html>
curious, what if you make
<html lang="es">
would you be programming html in spanish?
i think that chrome would offer to translate from spanish to english
It's for SEO, screen readers, that kind of stuff, so they know which language they're dealing with
You can also put it on individual elements, e.g. <p>The German word for cat is <span lang="de">Katze</span>.</p>