← Semantic tags lesson New set →

HTML Worksheet: Semantic Tags

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

Answer key

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

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