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.
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.
Covers the skeleton every page shares: the doctype, the html element, the head element and the body element, and what belongs in each.
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.
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.