Skip to content

Free course · 17 lessons

Free HTML Course

Build web pages from scratch: HTML structure, CSS, flexbox, grid and responsive design.

HTML is the markup language that gives every web page its structure: the headings, paragraphs, links, images, lists, tables and forms you see in a browser. CSS is its companion; it controls how those pieces look and where they sit on the screen. This free course covers both, in order. It's for complete beginners, and for anyone who has copied a bit of code and now wants to understand it properly.

The outline starts with what HTML is and how a page is put together, then works through headings and paragraphs, links, images, lists, tables, forms, and divs and spans for layout. Then it moves to CSS basics, colors and how to center things. Later lessons cover flexbox and grid, the two main CSS layout tools, and responsive design, so a page works as well on a phone as on a laptop. The course finishes by building a small website from scratch, a look at free editors and tools, and a one-page review of the basics.

You don't need special software to begin: a plain text editor and a web browser are enough, or a free online editor if you can't save files. Start at lesson 1 and work down the list. Lessons are published one at a time, so any marked "Coming soon" are still being written. Tick "Mark lesson complete" after each one; your progress is saved in this browser only, with no account or sign-up.

Your progress0 of 17 lessons complete

Saved in this browser only. No account needed.

Lessons are being published in order. Each one becomes a link below as soon as it's ready.

Course outline

  1. 1What is HTML + how to startComing soon
  2. 2HTML page structureComing soon
  3. 3Headings + paragraphsComing soon
  4. 4LinksComing soon
  5. 5ImagesComing soon
  6. 6ListsComing soon
  7. 7TablesComing soon
  8. 8Forms + inputsComing soon
  9. 9Div, span + layoutComing soon
  10. 10CSS basicsComing soon
  11. 11ColorsComing soon
  12. 12Center thingsComing soon
  13. 13Flexbox + gridComing soon
  14. 14Responsive designComing soon
  15. 15Build a websiteComing soon
  16. 16HTML editors + toolsComing soon
  17. 17HTML basicsComing soon

Frequently asked questions

Is HTML a programming language?

No. HTML is a markup language: it labels content as headings, paragraphs, links and so on, giving it meaning and structure, rather than giving the computer step-by-step instructions. The official standard calls it the web's core markup language.

What's the difference between HTML and CSS?

HTML defines the content and structure of a page. CSS is the styling language that controls how that content looks, from colors and fonts to layout. Nearly every website uses the two together.

Is HTML5 still the latest version?

HTML no longer comes in numbered releases. It's maintained as a single "Living Standard" by the WHATWG and updated continuously. People still say "HTML5" to mean modern HTML.

Should I learn flexbox or grid?

Both, because they solve different problems. Flexbox lays items out in one direction, a row or a column, while grid handles rows and columns at the same time, which suits whole-page layouts.

Do I need to install anything to start?

No. A basic text editor and a web browser are enough. If you can't create files on your device, a free online editor such as CodePen or JSFiddle works too.