HTMLHTML · Lesson 01

HTML Introduction

What HTML is, how browsers read it, and your first page.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 2 checkpoints Watch on YouTube More on this topic
Transcript & captions
10/10

HTML stands for HyperText Markup Language. It is not a programming language — it is a markup language that describes the structure and meaning of content on a page. Browsers read HTML and turn it into the page you see.

  • HTML describes structure (headings, paragraphs, lists, images).
  • CSS describes presentation (colors, layout, spacing).
  • JavaScript describes behaviour (clicks, data, animation).
A minimal HTML documenthtml
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>My first page</title>
  </head>
  <body>
    <h1>Hello world</h1>
    <p>This is my first paragraph.</p>
  </body>
</html>

<!DOCTYPE html> tells the browser to use modern standards mode. Always put it on line 1.

Try it yourself

Knowledge check

0/2 answered

What does HTML stand for?

Which part of the document holds visible content?