πŸ“š 10 Lessons β€’ Free

Ultimate HTML Guide

Learn HTML from scratch with this complete beginner‑friendly guide. No prior coding experience needed.

πŸ“– Table of Contents

1.1 Building Your First Header

Every web page starts with a simple set of tags that tell the browser what is a header and what is a paragraph.

<h1>Hello World</h1>
<p>This is my first web page.</p>

Full lesson β†’

1.2 Links & Navigation

Links are what make the web interconnected. The <a> anchor tag creates hyperlinks.

<a href="https://example.com">Visit Example</a>

Full lesson β†’

1.3 Images & Multimedia

The <img> tag embeds images. The alt attribute is essential for accessibility.

<img src="photo.jpg" alt="A description of the photo" />

Full lesson β†’

1.4 Lists & Tables

Lists and tables help organise information clearly.

<ul>
  <li>Apples</li>
  <li>Bananas</li>
</ul>

<ol>
  <li>Wake up</li>
  <li>Brush teeth</li>
</ol>

<table>
  <tr><th>Name</th><th>Age</th></tr>
  <tr><td>Alice</td><td>25</td></tr>
</table>

Full lesson β†’

1.5 Forms & Inputs

HTML forms collect user input – search boxes, login fields, contact messages.

<form action="/submit" method="post">
  <label for="name">Name:</label>
  <input type="text" id="name" name="name" />
  <button type="submit">Send</button>
</form>

Full lesson β†’

1.6 Semantic HTML

Semantic HTML elements describe their meaning to both the browser and the developer.

<header>Logo & navigation</header>
<nav>Links</nav>
<main>Main content</main>
<article>Blog post</article>
<footer>Copyright</footer>

Full lesson β†’

1.7 CSS Basics

CSS (Cascading Style Sheets) controls the look and feel of your web pages.

<style>
  h1 { color: #3b82f6; font-size: 2rem; }
  p { color: #475569; }
</style>

Full lesson β†’

1.8 CSS Box Model

Every element is a rectangular box: content + padding + border + margin.

.box {
  width: 200px;
  padding: 20px;
  border: 5px solid #ef4444;
  margin: 30px;
}

Full lesson β†’

1.9 Flexbox & Grid

Flexbox and Grid are modern CSS layout systems for building responsive designs.

.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

Full lesson β†’

1.10 Project: Personal Bio Page

Apply everything you've learned to build a complete personal bio page.

Full lesson β†’

πŸ“€ Share this guide

πŸš€ Want to go further?

Explore the full HTML course with interactive demos, code examples, and challenges.

Full HTML Course β†’