Skip to content

What is HTML?

Welcome to your HTML journey! In this tutorial, you’ll learn what HTML is and why it’s essential for building websites.

What you’ll learn:

  • What HTML stands for and what it does
  • How HTML relates to other web technologies
  • Basic HTML concepts and terminology

HTML stands for HyperText Markup Language.

Let’s break that down:

  • HyperText — Text that links to other text. When you click a link to go to another page, that’s hypertext in action!
  • Markup — Special symbols (called “tags”) that tell browsers how to display content
  • Language — A set of rules that browsers understand

HTML tells web browsers what content is on a page and how it’s structured.

For example, HTML can say:

  • “This is a heading”
  • “This is a paragraph”
  • “This is a link to another page”
  • “This is an image”
Result

Try editing the code above! Change the text inside the tags and see what happens.

Websites are built with three technologies that work together:

TechnologyWhat It DoesAnalogy
HTMLStructure and contentThe skeleton and organs
CSSAppearance and layoutThe skin and clothes
JavaScriptBehavior and interactivityThe muscles and brain

Right now, we’re focusing on HTML—the foundation that everything else builds upon.

An element is a piece of content with a specific meaning. For example:

<p>This is a paragraph element.</p>

Tags are the markers that define elements. Most elements have:

  • An opening tag: <p>
  • Content: The text or other elements inside
  • A closing tag: </p>
<p>Content goes here</p>

Attributes provide extra information about elements:

<a href="https://example.com">Link text</a>

Here, href is an attribute that tells the link where to go.

Edit this code to create your own content:

Result

Experiment! Try:

  1. Changing the heading text
  2. Adding your name
  3. Writing why you want to learn HTML
  • HTML describes the structure of web content
  • It uses elements defined by tags
  • Attributes provide extra information
  • HTML works with CSS (styling) and JavaScript (interactivity)

Next: Your First Page

Create a complete HTML document from scratch. Continue →

Element Reference

Explore all HTML elements in our reference. Browse A-Z →