html language code for spanish code example
Example 1: html with lang
<html lang="en">
<body>
<h1>Detects you are using english</h1>
</body>
</html>
Example 2: html lang tab
It basically tells the search engine about the language of the content of the web page.