Nishaglobal Education logo

HTML & CSS for Beginners

Build and style your own responsive, accessible web pages from scratch

A free, complete HTML and CSS course for absolute beginners. Learn page structure, links, images, tables and forms, then colours, fonts, the box model, Flexbox, Grid and responsive design, with live previews, exercises with solutions and a quiz in every lesson. Finish by building your own portfolio website.

lessons
13
lessons
final project
1
final project
of learning
11 hours
of learning
level
Beginner
level

Your progress

0 of 14 completed

Start Lesson 1 →

Progress is saved in this browser. No account needed.

Who this course is for

  • Complete beginners who want to build their own web pages
  • Students and job-seekers starting towards front-end, full-stack or UI design roles
  • Small business owners, teachers and bloggers who want to edit their own sites with confidence
  • Python, data or design learners who want to understand how the web works

What you will be able to do

  • Write valid, semantic HTML pages with headings, lists, links, images, tables and forms
  • Style pages with CSS: colours, fonts, spacing, borders and reusable variables
  • Lay out pages with Flexbox and Grid
  • Make pages responsive for phones, tablets and laptops with mobile-first media queries
  • Check your work for accessibility and validity, and publish a site for free
  • Build a complete responsive portfolio website

Before you start

Skills you need

  • Basic computer use: creating folders, saving files and switching between programs
  • No coding experience needed

Cost and accounts

Free. No account, card or paid software needed to learn.

Setup time

About 10 minutes to install VS Code and create your first file (lesson 1).

Tools

  • A code editor: Visual Studio Code ↗Free for Windows, macOS and Linux. Lesson 1 shows how to set it up. Any plain-text editor also works.
  • A modern web browserChrome, Edge, Firefox or Safari. You already have one.
  • A laptop or desktop computerPhones are fine for reading the lessons, but you need a computer to write and save files.
  • GitHub account (optional) ↗Only if you want to publish your site online in lesson 13. Free.

Checked with

  • Every HTML example is checked automatically with html-validate 11.22.1 (HTML standard and WCAG accessibility rules)
  • Every CSS example is checked with css-tree 3.2.1 for valid syntax, properties and values
  • Every live preview was viewed in Google Chrome 158 at phone (360px) and desktop widths

Last reviewed: 25 November 2026

Syllabus

Final project

Responsive portfolio website

A one-page portfolio with a navigation menu, introduction, projects grid, skills, contact form and footer that works on every screen size.

You complete the course when every lesson is marked complete and your project passes its self-check rubric.

Prerequisites

None. This course starts from zero.

This course prepares you for

Official documentation used for this course