HTML & CSS
Courses, paths and the MDN Learn web development: Core modules as a reference.
- 29 courses
- 11 ready now
- 8 paths
- 38 reference articles
Courses
- Available now
Learn HTML
Build web pages from the ground up. Write elements, lists, images and links, set up a proper HTML document, then add tables, forms with built-in validation, and semantic page structure.
Beginner45 lessons - Available now
Learn CSS
Turn plain HTML into designed pages. Write CSS rules and selectors, style text and backgrounds, size and space elements with the box model, position them, and choose colors and fonts with confidence.
Beginner50 lessons - Available now
Learn HTML: Fundamentals
The essential HTML every web page is built from. Write text, lists, images and video, set up a complete document with a head and links, then put it all together in a one-page project.
Beginner20 lessons - Available now
Learn HTML: Tables
Present data in rows and columns that everyone can read. Build tables with header cells and captions, merge cells, group rows and columns, connect complex headers, style tables with CSS and make them work on small screens.
Beginner15 lessons - Available now
Learn CSS: Introduction
Your first steps in CSS. Connect styles to a page, write rules with the right selectors, understand which rule wins, and style text, colors and backgrounds, then put it together in two small projects.
Beginner19 lessons - Available now
Learn HTML: Semantic HTML
Write HTML that says what each part of a page is. Mark up landmarks like header, nav, main and footer, structure content with articles, sections and asides, add dates and contact details, and embed media accessibly.
Beginner20 lessons - Available now
Learn HTML: Forms
Build forms people can fill in quickly and correctly. Choose the right input types, label and group every control, add selects, text areas and buttons, and validate answers in the browser with clear, accessible messages.
Beginner15 lessons - Available now
Learn CSS: Flexbox and Grid
Lay out pages with modern CSS. Use flexbox to line items up in rows and columns, share space and wrap, then build two-dimensional layouts with CSS grid, named areas and responsive tracks.
Intermediate24 lessons - Available now
Learn Intermediate CSS
Level up from basic styling. Lay out pages with flexbox and grid, add smooth transitions, make sites responsive with relative units and media queries, organise styles with custom properties and functions, and build pages that are accessible and work across browsers.
Intermediate36 lessons - Available now
Learn CSS: Box Model and Layout
Understand how CSS sizes and spaces every element, inspect boxes in developer tools, switch to border-box sizing, and position elements with display, relative, absolute, fixed and sticky positioning, z-index and floats.
Beginner18 lessons - Available now
Learn CSS: Colors
Color web pages with confidence. Set text and background colors, write colors as names, hex codes, RGB and HSL, add transparency, use currentcolor and modern functions like oklch() and color-mix(), check contrast for accessibility, and organize a palette with custom properties.
Beginner17 lessons
Paths with HTML & CSS courses
- Available now
Code Foundations
A gentle first look at programming, computers, the web and data for people who have never written code.
Beginner4 courses86 lessons - Available now
Build a Website with HTML, CSS, and GitHub Pages
Go from a blank file to a styled, responsive, accessible website that you publish online yourself.
Beginner11 courses165 lessons - Available now
Full-Stack Engineer
Cover the whole web stack, from HTML and React on the front end to Node, Express and SQL on the back end, plus security, testing and interview basics.
Beginner38 courses634 lessons - Available now
UX Designer
Practise the UX workflow end to end: research, ideation, interaction and visual design, accessibility and iteration.
Beginner8 courses112 lessons - Available now
Front-End Engineer
Learn to build polished, accessible interfaces with HTML, CSS, JavaScript, React and Redux, and the tools around them.
Beginner26 courses475 lessons - Available now
Back-End Engineer
Build server-side applications with JavaScript, Node, Express and SQL, and learn the security, testing and DevOps habits that keep them running.
Beginner29 courses567 lessons - Available now
Build Python Web Apps with Django
Learn how the web works and start building Python web applications with Django.
Beginner2 courses45 lessons - Available now
Build Python Web Apps with Flask
Learn Python and web basics, then build database-backed web applications with Flask.
Beginner6 courses153 lessons
Planned courses
- Learn CSS: Transitions and AnimationsComing soon
- Learn CSS: Typography and FontsComing soon
- Learn CSS: Responsive DesignComing soon
- Learn CSS: Variables and FunctionsComing soon
- Learn CSS: Browser CompatibilityComing soon
- Learn BootstrapComing soon
- Learn jQuery: FundamentalsComing soon
- Learn Digital AccessibilityComing soon
- Learn SassComing soon
- Learn Sass: Functions and OperationsComing soon
- Learn jQuery: DOM TraversingComing soon
- Learn Sass: Best PracticesComing soon
- Learn CSS-in-JSComing soon
- Learn Sass: Mixins and Parent SelectorComing soon
- Learn jQuery: StylesComing soon
- Learn jQueryComing soon
- Learn Sass: FundamentalsComing soon
- Learn jQuery: Effects and Event HandlingComing soon
Reference
MDN Learn web development: Core modules
38 articles by Mozilla Contributors, with every example runnable.
Structuring content with HTML