← Semantic tags lesson New set →

HTML Worksheet: Semantic Tags

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

Answer key

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

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