Bruno Ribeiro | Resources | All your content should be in the <body> of your document

All your content should be in the <body> of your document

The HTML document has two parts: the head and the body.

The content needs to be in the body, which is between the <body> and the </body> tags.

A common mistake is to include the header of the page in the head of the document. Header and head are not the same. The header goes in the body.

Example

Example of HTML code with all the content in the body. The title tag is in the head of the document, but the h1 tag is in its body.