Module 02 of 11

HTML Basics

Lessons

About This Module

Every HTML page, from a one-line demo to a huge web app, is built from the same few ideas: a document with a fixed skeleton, made of elements that can be configured with attributes and placed inside one another. Once those ideas are second nature, learning any new tag is just learning a new word in a language you already speak.

This module starts by building your first web page so you can see markup turn into something in the browser straight away. It then breaks down the document skeleton: the doctype, the html element, and the head and body sections. From there you'll learn the vocabulary of tags, elements and attributes, and finish with nesting and the difference between block and inline elements, which explains how content stacks on the page.

Watch the lessons in order, then continue on to Text, Lists & Links.

Lessons

4 videos
01

HTML Tutorial for Beginners

A step-by-step tutorial that builds a simple web page from scratch, starting with how an HTML document is structured and moving on to the basics of the language.

02

Basic HTML Page Structure

Covers the skeleton every page shares: the doctype, the html element, the head element and the body element, and what belongs in each.

03

HTML Elements and Attributes

A beginner's guide to the building blocks of markup: what elements are, how attributes add extra information to them, and how to write both correctly.

04

Block vs Inline Elements and Nesting

Explains how block-level and inline elements are placed on the page, how elements nest inside each other, and how attributes fit into that structure.