← Semantic tags lesson New set →

HTML Worksheet: Semantic Tags

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

Answer key

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

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