freeCodeCamp/guide/english/html/tutorials/basic-html/index.md

495 B

title
Basic HTML

Basic HTML

Basic Page Structure:

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
  </body>
</html>

Explanation:

The <!DOCTYPE html> is to tell the browser you want the page to be rendered using HTML5.

The <head></head> is were you want to put things that help the browser and search engines such as <title></title> and <meta>.

The <body></body> is were the tags that will display on the page are such as <h1></h1> or <p></p>.