Lesson 6 of 29 · HTML Basics
Quiz: HTML Basics
You've built your first real web pages: headings and paragraphs, important and emphasised text, links to other sites and to sections of the same page, images with alt text, and lists of every kind.
Answer these six questions before you face the chapter boss. Read every explanation — even for the questions you get right — because each one points out a detail that trips up beginners.
What this quiz covers
The questions check what you learned in the HTML Basics chapter of Learn HTML & CSS. Not sure about a topic? Review its lesson first:
- HTML Hello World: Your First Web Page
Write your first web page in HTML — a heading and a paragraph — and watch it appear in the live preview. Start learning HTML for free.
- HTML Headings and Paragraphs: h1–h6, p, strong and em
Learn HTML headings from h1 to h6, paragraphs and line breaks, and how strong and em mark important and emphasised text. Free interactive lesson.
- HTML Links: The a Tag and href
Learn HTML links — the a tag and href, absolute vs relative URLs, opening a new tab safely with target and rel, and jumping to a section with
- HTML Images: The img Tag, src and alt Text
Add images to a web page with the HTML img tag — src, width and alt text — and learn why good alt text matters for accessibility and SEO.
- HTML Lists: ul, ol, li and Nested Lists
Learn HTML lists — bulleted lists with ul, numbered lists with ol and list items with li — and how to nest one list inside another.
Keep learning
Need a quick reminder? The HTML & CSS cheat sheet has every topic of Learn HTML & CSS on one page.
Lesson last updated on .