HTML <html> Tag

<title>Document Title</title>
<p>Content goes here...</p>

The above example demonstrates usage of the <html> element.

The <html> element represents the root of an HTML document. It is the first element in an HTML document. Therefore its start tag is the first tag, and its end tag is the last tag in the document.

In a conforming HTML document, the <html> element contains a <head> element, followed by a <body> element.

The W3C encourages authors to use the <html lang> attribute on the <html>.