The html Element HTML5

Next up in any HTML document is the html element, which has not changed significantly
with HTML5. In our example, we’ve included the lang attribute with a
value of en, which specifies that the document is in English. In XHTML-based
syntax, you’d be required to include an xmlns attribute. In HTML5, this is no longer
needed, and even the lang attribute is unnecessary for the document to validate or
function correctly.



<!doctype html>
<html lang="en">
</html>