50 six-month MMA memberships to give away, opening every course. Claim now

All courses
WEB 101No seats leftComputer Science

Basic HTML & CSS

Learn HTML and CSS by doing: start with small blocks to understand each idea, then build real pieces like buttons, cards, menus and pricing tables, and finish whole pages from designs that look right on phones and computers. For learners from grade 6 and adult beginners.

  • Beginner
  • About 18 hours
  • 14 sections
  • 54 lessons

This course has no free seats left. It is part of MMA membership, which opens every MMA course in the Academy.

Membership giveaway

MMA is giving away 50 6-month memberships that open every course in the Academy. Sign in and take one with a single press.

49 of 50 seats left

Take a seat in the Academy

Course outline

  1. Section 1

    Getting started

    • What a web page is made of

      Lesson · 10 min

  2. Section 2

    Tags and text

    • Elements, tags and attributes

      Lesson · 20 min

    • Links, images and the page frame

      Lesson · 20 min

    • Marking up real text

      Practice · 20 min

    • Project: a recipe page

      Practice · 40 min

  3. Section 3

    Meaningful page structure

    • Semantic tags and the parts of a page

      Lesson · 25 min

    • Tables for data

      Lesson · 20 min

    • Real tables and posts

      Practice · 30 min

    • Project: a club page

      Practice · 45 min

  4. Section 4

    Forms

    • Fields and labels

      Lesson · 20 min

    • Choices

      Lesson · 20 min

    • The browser checks for you

      Lesson · 20 min

    • Real forms

      Practice · 35 min

    • Project: a fun run registration form

      Practice · 45 min

  5. Section 5

    Selectors and the cascade

    • Rules and selectors

      Lesson · 15 min

    • Pseudo-classes and attribute selectors

      Lesson · 15 min

    • Which rule wins?

      Lesson · 20 min

    • Components: a table and a nav bar

      Practice · 25 min

    • Project: style the recipe page

      Practice · 40 min

  6. Section 6

    Colour, type and units

    • Colours and contrast

      Lesson · 15 min

    • Fonts and text size

      Lesson · 15 min

    • Units

      Lesson · 15 min

    • Components: price, quote, notice

      Practice · 25 min

    • Project: typeset a blog article

      Practice · 45 min

  7. Section 7

    The box model

    • Every element is a box

      Lesson · 20 min

    • Sizes, display and margins

      Lesson · 25 min

    • Components: buttons, badges, a profile card

      Practice · 30 min

    • Project: a business card

      Practice · 45 min

  8. Section 8

    Flexbox

    • Flexbox: lining boxes up

      Lesson · 20 min

    • Main axis, cross axis and layout algorithms

      Lesson · 15 min

    • Wrapping, growing and pushing away

      Lesson · 15 min

    • Components: navbar, comment, chat, footer

      Practice · 40 min

    • Project: a set of product cards

      Practice · 45 min

  9. Section 9

    Grid

    • Grid: rows and columns

      Lesson · 20 min

    • Spanning, placing and naming areas

      Lesson · 20 min

    • Components: album, calendar, pricing, dashboard

      Practice · 45 min

    • Project: a bookshop home page

      Practice · 45 min

  10. Section 10

    Positioning and layers

    • position: taking a box out of line

      Lesson · 20 min

    • Layers, fixed and sticky

      Lesson · 20 min

    • Components: header, dropdown, dialog, tooltip

      Practice · 45 min

    • Project: an event page hero

      Practice · 45 min

  11. Section 11

    Responsive design

    • Phones first

      Lesson · 30 min

    • Grids that stretch

      Lesson · 15 min

    • Advanced: the box decides

      Lesson · 10 min

    • Responsive components

      Practice · 45 min

    • Project: a campsite landing page

      Practice · 60 min

  12. Section 12

    Finishing touches

    • Custom properties and dark mode

      Lesson · 20 min

    • States and motion

      Lesson · 30 min

    • Finished components

      Practice · 40 min

    • Project: the Academy's course card

      Practice · 50 min

  13. Section 13

    Final project

    • Final project: your portfolio page

      Practice · 120 min

    • Optional: a bakery dashboard

      Practice · 60 min

  14. Section 14

    Final exam

    • Final exam

      Quiz · 30 min

    • After the exam

      Lesson · 5 min