- There are multiple ways to set language in HTML
- By setting content-language in headers for language of the page
- By setting accept-language in headers for list of language that a page accept
- Setting lang attribute in html tag
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document Title</title>
</head>
<body>
</body>
</html>