HTML tutorial

Give your web pages structure and meaning

About this tutorial

HTML is the language every web page is written in. In this beginner class you go from an empty file to a complete, accessible web page: text, links, images, lists, tables, page layout, forms and media.

Every lesson has examples you can open in the CodeLab Playground, an exercise, and a short quiz. Finish with the final quiz to check you are ready for CSS.

Lessons

Getting started

  1. Your first web pageWhat HTML is, how a page is put together, and how to see your own page in a browser. Free 10 min
  2. Headings, paragraphs and textOrganise text with six levels of headings, paragraphs, line breaks and emphasis. Free 11 min
  3. Attributes and commentsGive elements extra information with attributes, and leave notes in your code with comments. Locked 8 min

Links, images and lists

  1. Links and imagesConnect pages with links and show pictures with useful alternative text. Locked 9 min
  2. ListsBulleted, numbered, nested and description lists, and when to use each. Locked 14 min

Structuring content

  1. TablesShow data in rows and columns with captions and header cells. Locked 15 min
  2. Page layout with semantic elementsUse header, nav, main, section, article, aside and footer to describe the parts of a page. Locked 16 min
  3. Divs, spans, classes and idsGroup content with div and span, and name elements with class and id so CSS and JavaScript can find them. Locked 9 min

Forms and media

  1. FormsCollect information with form, label, input, textarea, select and button. Locked 14 min
  2. Form validation and accessibilityLet the browser check answers with required, min, max and pattern, and make forms easy for everyone. Locked 10 min
  3. Audio, video and embedded contentAdd sound, video and embedded pages such as maps and YouTube videos. Locked 5 min

Putting it together

  1. The head: meta tags, SEO and accessibilityHelp search engines, phones and screen readers with the right head tags and good habits. Locked 4 min
  2. Project: build your profile pagePut everything together in a complete, accessible personal profile page. Locked 26 min
  3. HTML final quizTwelve questions covering the whole HTML beginner class. Score yourself before moving on to CSS. Locked 5 min
Hi there! đź‘‹ Have a question about the courses or joining the class? Ask me.