HTML

HTML is a standardised language to help prepare and organise documents (read websites) that the browser can read and display in a consistent manner.

The language consists of tags that tell the browser how it should interpret that specific part.

Tags have properties that are usually tied to how the browser interprets them but they can basically be just any information associated with that tag/element.

In the beginning of the document, there are general things that should be in every HTML document that the browser needs. These are contained inside the head tag. These can be for example links to scripts ot stylesheets, more on those later.

Everything that will be shown to the user is put inside the body tag.

Examples of tags

Take a peek into the code to see HTML in more detail.

When the browser receives a HTML document it uses it as instructions to construct an inner model/map of the document called Document Object Model. It then uses that model to display the website visually.

In our paper plane analogy, HTML document is basically the text content written in the paper.