What is HTML? (Clone)


One way that we can answer this is by breaking down a website into 3 parts: structure, styling and interaction.

STRUCTURE
You should use HTML for the structure of a website. A website can contain different types of content (text, images, videos etc) and the HTML structures this within the page. You can then use further languages to layer on styling and interactivity. We can help to reinforce this concept by thinking of a building, the HTML would be the hardware that gives it the structure; such as the walls, roof etc.

STYLING
You can then use a language (such as CSS) to add styling. Thinking about our building analogy, the styling would be adding colour to the walls, colour to the doors etc.

INTERACTION
We can then use a language (such as JavaScript) to add interaction. With our building analogy, the interaction would be adding a door bell, a light switch etc.
HTML is an acronym that stands for HyperText Markup Language:

HyperText is text that provides access to other text through links, known as hyperlinks. These are the links that you find on web pages.

A markup language defines the structure and presentation of raw text.