html lang attribute en-gb code example
Example 1: html lang
<!DOCTYPE html>
<html lang="en"> <!-- sets language to english -->
<!-- <head>, <body>, etc. contents-->
</html>
Example 2: html with lang
<html lang="en">
<body>
<h1>Detects you are using english</h1>
</body>
</html>