The course
HTML
Learn how the web delivers pages and how to write the HTML that structures them. You will build real documents with headings, text, links, lists and attributes, the right way from the first line.
Ready to learnYour path through the ideas
Inside the course
Install your tools, choose your setup and verify a local run.
02The Web and Markup3 lessons
HTML is a markup language that describes the structure and meaning of web content. Browsers obtain that content through web requests and present it to users. Before writing tags, understand what markup is, how HTML, CSS and JavaScript split the work, and how a web address turns into a page on your screen.
03HTML Syntax4 lessons
HTML syntax describes how tags, attributes, text and character references form a document that a browser can parse. Learn the shape of every element, how browsers read and forgive your markup, and the small rules about special characters, comments and spacing that trip up beginners.
04Document Structure4 lessons
An HTML document has a root element and sections for page metadata and page content; its doctype selects the browser's rendering mode. Every page shares the same frame: a doctype, one root element, a head that describes the page and a body that holds its content. Learn each part, then assemble a complete skeleton from memory.
05Text Content5 lessons
Text elements describe the role of content, such as a heading, paragraph, emphasized phrase or link. Most of any page is text. Learn to mark up headings as an outline, separate paragraphs properly, choose between strong, em, b and i, use mark, sub and sup precisely, and write links that say where they lead.
06Grouping and Attributes4 lessons
Grouping elements collect related content. Attributes add identity, classification or other information to an element. Learn when the meaningless div and span are the right tools, and how the id, class, data-* and style attributes let you name, group and annotate elements for CSS and JavaScript.
07Lists3 lessons
A list represents a collection of items, an ordered sequence, or associations between terms and descriptions. Lists are everywhere on the web, from menus to recipes. Learn to pick between ordered and unordered lists by meaning, pair terms with descriptions, and nest lists correctly.