What is HTML?

HTML is the language that tells a website what things exist on a page, like text, buttons, and images.

Think of it like this

HTML is the skeleton of a website. It decides where the head, arms, and legs go.

What's happening

Diagram showing HTML tags structuring a web page into headings, paragraphs, and images

Summary

HTML gives a webpage its structure.

A Closer Look

HTML is the basic code that gives web pages their structure. It uses tags (written in angle brackets like <>) to label different parts of a page, such as headings, paragraphs, images, and links. Your web browser reads this code and displays it as the web page you see.

Common Misconceptions

  • HTML is not a programming language โ€” it's a markup language. It describes structure, not instructions or logic.
  • HTML alone doesn't make a site look good โ€” that's CSS's job.
  • You don't need special software to write HTML โ€” it's just a text file with a .html extension.

How it connects

HTML is the foundation โ€” these topics build directly on top of it:

Try it yourself

Right-click anywhere on this page and choose "View Page Source". You'll see the real HTML code behind what you're reading right now.