--- title: Basic HTML --- ## Basic HTML The basic structure of HTML always starts with a document type declaration: `` You will need to add the `` tag after the document type and close it with a `` tag. This will be your actual HTML document. The first element you will insert in your HTML will be the `` tag that will contain all metadata from the website such as its title, styles, links and other elements. This element needs to be closed with a `` tag. The visible part of your HTML lies within the `` tag which will be inside the `` tag, and will also need to be closed with a `` tag. Below you can see the structure of a basic HTML file: ### Basic Page Structure: ```html ``` ### Sample HTML Program ```html Page Title

This is a Heading

This is a paragraph.

``` ## HTML Headings HTML headings are with the

to

tags. Example: ```html

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
``` ## Explanation The `` is to tell the browser you want the page to be rendered using HTML5. The `` is were you want to put things that help the browser and search engines such as `` and ``. The `` is were the tags that will display on the page are such as `

` or `

`. #### More Information - [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML) - [W3schools](https://www.w3schools.com/html/)