This page shows all the essential HTML tags you'll use in your first projects, with examples and results.
β Back to Lesson 1Used for titles and subtitles. <h1> is largest, <h6> is smallest.
<h1>Main Title</h1>
<h3>Subtitle</h3>
Normal blocks of text.
<p>This is a paragraph of text.</p>
This is a paragraph of text.
Creates a clickable link to another page.
<a href="https://example.com">Visit Page</a>
Displays an image. Uses src, alt, and width.
<img src="hero.png" width="150" alt="Hero">
A clickable button.
<button>Click Me</button>
<ul> creates bullet lists. <ol> creates numbered lists. <li> is an item inside a list.
<ul>
<li>Speed: 90</li>
<li>Stealth: 97</li>
</ul>
Moves the next text to a new line.
Line 1<br>Line 2
Creates a dividing line.
<hr>
Use this when you already know the basics and just need to remember the syntax.
<h1>Title</h1><p>Text</p><a href="">Link</a><title>Page Name</title><img src="" alt="" width=""><button>Press</button><ul><li>Item</li></ul><ol><li>1</li></ol>Line 1<br>Line 2<hr>