Next: Your First Page
Create a complete HTML document from scratch. Continue →
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:
HTML stands for HyperText Markup Language.
Let’s break that down:
HTML tells web browsers what content is on a page and how it’s structured.
For example, HTML can say:
Try editing the code above! Change the text inside the tags and see what happens.
Websites are built with three technologies that work together:
| Technology | What It Does | Analogy |
|---|---|---|
| HTML | Structure and content | The skeleton and organs |
| CSS | Appearance and layout | The skin and clothes |
| JavaScript | Behavior and interactivity | The 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:
<p></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:
Experiment! Try:
Next: Your First Page
Create a complete HTML document from scratch. Continue →
Element Reference
Explore all HTML elements in our reference. Browse A-Z →