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 can be used to declare the language of a Web page or a portion of a Web page. This is meant to assist search engines and browsers.


html attribute root