Skip to content

HTML CSS Fundamentals Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 170 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

What is the purpose of HTML5 semantic elements?

Show ▼

HTML5 semantic elements provide meaningful structure to web pages. They describe the role of their content rather than just its appearance. Examples include <header>, <nav>, <main>, <article>, <section>, and <footer>. They improve accessibility, SEO, and code readability.

What is the difference between <section> and <div>?

Show ▼

<section> is a semantic element that represents a thematic grouping of content, typically with a heading. <div> is a non-semantic generic container with no inherent meaning. Use <section> when content forms a logical group; use <div> purely for styling or layout purposes.

What is the <article> element used for?

Show ▼

The <article> element represents a self-contained composition that could be independently distributed or reused. Examples include:

  • Blog posts
  • News articles
  • Forum posts
  • Product cards
Each <article> should make sense on its own, even outside the context of the page.

What is the purpose of the <nav> element?

Show ▼

The <nav> element represents a section of a page that contains navigation links, either within the site or to other sites. It is intended for major navigation blocks, not every group of links. Screen readers use it to determine what to skip or jump to directly.

What does the <figure> and <figcaption> combination do?

Show ▼

<figure> wraps self-contained content like images, diagrams, or code snippets that are referenced in the main flow. <figcaption> provides a caption or legend for the figure.
Example:
<figure><img src="chart.png"><figcaption>Sales data</figcaption></figure>

🎯 Take the HTML CSS Fundamentals Practice Exam