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

918 B

title
Basic HTML

Basic HTML

Basic Page Structure:

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

Html Headings

HTML headings are with the

to

tags.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

** out put **

//when you type this and get the out put you can see the different

More Information:

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>.