<htmlstart/>

Introduction to HTML

What is HTML and why do you need it?

What is HTML?

HTML stands for HyperText Markup Language. It is the standard language used to create and structure content on the web. Every web page you visit is built with HTML.

HTML uses tags — short keywords wrapped in angle brackets — to tell the browser how to display content.

<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>
    <h1>Hello, World!</h1>
    <p>This is my first web page.</p>
  </body>
</html>

How HTML Works

HTML tells the browser what the content is — headings, paragraphs, links, images. CSS then controls how it looks, and JavaScript makes it interactive.

Tip: Save an HTML file with the .html extension and open it in any browser to see it live.
🧩

Test Yourself

4 questions
Q1.What does HTML stand for?
Q2.What does HTML define in a web page?
Q3.Which file extension is used for HTML files?
Q4.HTML is a ___