HTML: build the structure of a web page
HTML gives a web page its structure: headings, paragraphs, links, images and forms. Start here if you have never written code. Every lesson has a live editor: change the code, press Run to see the page, and press Test to check your work.
Lessons go in order, from easiest to harder.
- 1Your first pageβ done
- 2Headings: h1 to h6β done
- 3Paragraphs, line breaks and dividersβ done
- 4Text formattingβ done
- 5Lists: ordered, unordered and nestedβ done
- 6Linksβ done
- 7Imagesβ done
- 8Tables: rows, cells and headersβ done
- 9Tabs and keyboard focus with tabindexβ done
- 10Attributes: id, class and dataβ done
- 11Forms: inputs and labelsβ done
- 12More form controls: select, textarea, checkbox, radio, buttonβ done
- 13Generic boxes: div and spanβ done
- 14Semantic layout: header, nav, main, footerβ done
- 15The head: title, meta and languageβ done
- 16A complete pageβ done