HTML <html> Element

By Christopher Kielty, updated Jan 16, 2019
rss

The <html> element is the root element of a webpage. It should be preceded by <DOCTYPE html>, but that's not an element. A very basic webpage might look like:

<DOCTYPE html>
<html>
  <head>
    <title>Basic HTML Page</title>
  </head>
  <body>
    <p>This is a basic HTML document</p>
  </body>
</html>

rss