<html>...</html>

HTML4 HTML5

The entire document (webpage) is contained within the <html> and </html> tags.

Both opening and closing tags are required.

Example

A typical HTML document is split into two sections:

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>

  <body>
    Page content ....
  </body>

</html>