Basic HTML page

<!DOCTYPE html>
<html>
    <head>
        <title>01. Page Title</title>
    </head>
    <body>
        <h1>My First Heading</h1>
        <p>My first paragraph.</p>
    </body>
</html>

This is the basic structure of any HTML document

HTML elements can be nested inside each other or at the same level

HTML document
head (not visible in the browser)
title
body
h1 heading
paragraph

Indentation

The indentation used in HTML is purely to help readablilty of the code.

Browsers will ignore the indents.

Developers normally use 2 spaces, 4 spaces or tabs for their indents.