← Semantic tags lesson New set →

HTML Worksheet: Semantic Tags

HTML and CSS lesson 23: Semantic tags · Set 95 · 40 questions
TalentJR

Code tip (Say what it is): Top to bottom: <header> → <nav> → <main> → <footer>. <article> = a post or story; <aside> = a side box of extra notes. <div> and <span> are not semantic — they say nothing about meaning.

NameDateTime takenScore ___ / 40
  1. 1.Which of these is true of <main>? (a) holds the main content (b) holds the menu of links (c) holds extra side notes (d) holds a news story
  2. 2.True or false: <nav> helps you move around. (a) True (b) False
  3. 3.🧭 Why use <nav> instead of <div> for a menu? (a) it adds pictures (b) it loads faster (c) it tells its meaning (d) it makes text red
  4. 4.🧭 Which semantic tag holds extra side notes? (a) <footer> (b) <aside> (c) <header> (d) <main>
  5. 5.🧭 How many <main> parts should a page have? (a) none (b) ten (c) three (d) one
  6. 6.True or false: <article> holds one blog post. (a) False (b) True
  7. 7.🔢 On a typical page, from top to bottom, which comes first: “<footer>” or “<nav>”? (a) <footer> (b) <nav>
  8. 8.🧭 Which semantic tag holds a side box of tips? (a) <article> (b) <header> (c) <aside> (d) <footer>
  9. 9.True or false: <header> holds the logo and title. (a) False (b) True
  10. 10.Which of these is true of <aside>? (a) holds a side box of tips (b) sits at the very top (c) helps you move around (d) holds copyright notes
  11. 11.True or false: <main> holds the main content. (a) False (b) True
  12. 12.Which of these is true of <footer>? (a) holds one blog post (b) sits at the bottom (c) holds a news story (d) is the page’s key part
  13. 13.🧭 Which semantic tag holds copyright notes? (a) <footer> (b) <nav> (c) <main> (d) <article>
  14. 14.🧭 Which semantic tag holds the logo and title? (a) <footer> (b) <article> (c) <header> (d) <main>
  15. 15.True or false: <main> holds a side box of tips. (a) True (b) False
  16. 16.🧭 Who is helped most by semantic tags? (a) screen-reader users (b) nobody (c) only the printer (d) only the server
  17. 17.True or false: <header> holds one blog post. (a) True (b) False
  18. 18.🧭 Is <header> semantic or not semantic? (a) semantic (b) not semantic
  19. 19.True or false: <footer> holds copyright notes. (a) False (b) True
  20. 20.Which of these is true of <footer>? (a) holds copyright notes (b) holds extra side notes (c) holds the main content (d) holds a side box of tips
  21. 21.True or false: <main> holds the menu of links. (a) False (b) True
  22. 22.🔢 On a typical page, from top to bottom, which comes FIRST? (a) <main> (b) <header> (c) <nav> (d) <footer>
  23. 23.🧭 Is <section> semantic or not semantic? (a) semantic (b) not semantic
  24. 24.Which of these is true of <header>? (a) helps you move around (b) sits at the bottom (c) holds the logo and title (d) holds a side box of tips
  25. 25.True or false: <nav> sits at the very top. (a) False (b) True
  26. 26.Which of these is true of <main>? (a) is the page’s key part (b) holds a news story (c) holds the logo and title (d) sits at the bottom
  27. 27.Which of these is true of <aside>? (a) helps you move around (b) holds extra side notes (c) holds copyright notes (d) holds the logo and title
  28. 28.🔢 On a typical page, from top to bottom, which comes first: “<header>” or “<footer>”? (a) <footer> (b) <header>
  29. 29.🔢 On a typical page, from top to bottom, which comes first: “<main>” or “<nav>”? (a) <main> (b) <nav>
  30. 30.🧭 Is <div> semantic or not semantic? (a) semantic (b) not semantic
  31. 31.🧭 Which semantic tag sits at the very top? (a) <nav> (b) <article> (c) <header> (d) <main>
  32. 32.🔢 On a typical page, from top to bottom, what comes right after “<nav>”? (a) <footer> (b) <main> (c) <header>
  33. 33.🔢 On a typical page, from top to bottom, which comes first: “<main>” or “<header>”? (a) <header> (b) <main>
  34. 34.🔢 On a typical page, from top to bottom, which comes first: “<nav>” or “<main>”? (a) <nav> (b) <main>
  35. 35.True or false: <footer> holds one blog post. (a) True (b) False
  36. 36.True or false: <article> holds the logo and title. (a) False (b) True
  37. 37.Which of these is true of <nav>? (a) holds the menu of links (b) holds the main content (c) holds one blog post (d) sits at the very top
  38. 38.True or false: <header> helps you move around. (a) False (b) True
  39. 39.🧭 Which semantic tag helps you move around? (a) <article> (b) <nav> (c) <main> (d) <aside>
  40. 40.🧭 Which semantic tag holds the menu of links? (a) <aside> (b) <footer> (c) <main> (d) <nav>

Answer key

  1. holds the main content
  2. True
  3. it tells its meaning
  4. <aside>
  5. one
  6. True
  7. <nav>
  8. <aside>
  9. True
  10. holds a side box of tips
  11. True
  12. sits at the bottom
  13. <footer>
  14. <header>
  15. False
  16. screen-reader users
  17. False
  18. semantic
  19. True
  20. holds copyright notes
  21. False
  22. <header>
  23. semantic
  24. holds the logo and title
  25. False
  26. is the page’s key part
  27. holds extra side notes
  28. <header>
  29. <nav>
  30. not semantic
  31. <header>
  32. <main>
  33. <header>
  34. <nav>
  35. False
  36. False
  37. holds the menu of links
  38. False
  39. <nav>
  40. <nav>

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids