Revisit the Root

A very common first attribute value located on a webpage is in the root element (<html>...</html>), in terms of an ISO language code and/or ISO country code.

For example, I may want my site indexed as containing content written in “US-style English:”

HTML
<html lang="en-US">
  <p>The root element is made with "<html>" tags, with the key="value" pair of lang="en-US".
  <br />
  This root attribute states the page is written in US-style English.</p>
</html>

The HTML lang attribute declares the language of a Web page or a portion of a Web page. This attribute assists search engines and browsers.


html attribute root