HTML & CSS
HTML & CSS Fundamentals
Build structured, styled, responsive, accessible pages from scratch.
Helpful before you begin (optional -- you can start this course now): How Computing & the Web Work
Who it's for
Learners who understand what a web page is and want to build one properly, including the accessibility and layout rules that separate a working page from a good one.
What you'll be able to do
- Write semantic HTML that describes meaning rather than appearance
- Build accessible forms with correctly associated labels and validation
- Control layout with the box model, Flexbox, and CSS Grid
- Make a page adapt to any screen size using mobile-first media queries
Not started — 8 lessons, no account required.
Start this coursePractice this course →Add to a study plan →Interview questions →
Structuring content with HTML
The elements that give a document meaning, not just shape.
- 18 min
HTML Document Structure & Basic Elements
Learn the anatomy of every HTML page — doctype, html, head, and body — plus everyday elements like headings, paragraphs, and comments.
- 20 min
Semantic HTML: Links, Images, Lists & Tables
Move beyond generic divs — structure pages with semantic landmarks, and add links, images, lists, and tables correctly.
- 22 min
Forms, Validation & Accessibility Foundations
Build usable forms with properly linked labels, built-in browser validation, and the accessibility basics every page needs.
Styling and the cascade
How selectors compete, and how an element's size is really calculated.
- 20 min
CSS Selectors and the Cascade
Learn how CSS selectors target elements, and how specificity and the cascade decide which rule wins when several match.
- 18 min
The CSS Box Model
Understand content, padding, border, and margin — the four layers that determine every element's rendered size and spacing.
Modern layout
One-dimensional and two-dimensional layout systems.
Responsive design
Making one page work on every screen.
Where to go next
Optional -- these build well on what you just learned, but any course can come next.