← What CSS does lesson New set →

CSS Worksheet: What Is CSS

HTML and CSS lesson 11: What CSS does · Set 478 · 40 questions
TalentJR

Code tip (Build, style, act): HTML = structure (headings, lists, links); CSS = style (colours, fonts, spacing, layout); JavaScript = actions. CSS can go in a style="…" attribute, a <style> tag in the head, or a .css file. Link a file with <link rel="stylesheet" href="style.css"> in the head.

NameDateTime takenScore ___ / 40
  1. 1.Which of these does JavaScript do? (a) gives the page structure (b) lays out the page (c) counts down a timer (d) makes a link
  2. 2.🧩 Which language sets colours and fonts? (a) JavaScript (b) CSS (c) HTML
  3. 3.🎨 Which tag holds CSS inside the head? (a) <style> (b) <body> (c) <css> (d) <script>
  4. 4.🧩 Which language checks a quiz answer? (a) JavaScript (b) CSS (c) HTML
  5. 5.Which of these does CSS do? (a) makes headings and lists (b) puts a picture on a page (c) checks a quiz answer (d) lays out the page
  6. 6.🎨 Which attribute adds CSS inside one tag? (a) href (b) alt (c) src (d) style
  7. 7.Which of these does HTML do? (a) shows a pop-up message (b) puts a picture on a page (c) lays out the page (d) counts down a timer
  8. 8.🧩 Which language shows a pop-up message? (a) JavaScript (b) HTML (c) CSS
  9. 9.True or false: HTML makes headings and lists. (a) False (b) True
  10. 10.Which of these does JavaScript do? (a) makes headings and lists (b) rounds box corners (c) makes a form box (d) reacts to a button click
  11. 11.🧩 Which language makes headings and lists? (a) CSS (b) JavaScript (c) HTML
  12. 12.🔍 Which is the odd one out? (a) sets colours and fonts (b) rounds box corners (c) counts down a timer (d) lays out the page
  13. 13.🔍 Which is the odd one out? (a) makes a form box (b) makes headings and lists (c) sets colours and fonts (d) puts a picture on a page
  14. 14.🎨 A CSS file usually ends with which extension? (a) .html (b) .png (c) .js (d) .css
  15. 15.True or false: HTML checks a quiz answer. (a) False (b) True
  16. 16.True or false: HTML makes a link. (a) False (b) True
  17. 17.🎨 Which tag connects an outside CSS file? (a) <img> (b) <link> (c) <css> (d) <a>
  18. 18.True or false: CSS checks a quiz answer. (a) False (b) True
  19. 19.True or false: CSS changes the text size. (a) False (b) True
  20. 20.🔍 Which is the odd one out? (a) rounds box corners (b) checks a quiz answer (c) changes the page live (d) shows a pop-up message
  21. 21.🧩 Which language lays out the page? (a) HTML (b) CSS (c) JavaScript
  22. 22.🧩 Which language counts down a timer? (a) JavaScript (b) HTML (c) CSS
  23. 23.🧩 Which language adds space around boxes? (a) HTML (b) CSS (c) JavaScript
  24. 24.🔍 Which is the odd one out? (a) adds space around boxes (b) makes headings and lists (c) puts a picture on a page (d) makes a form box
  25. 25.True or false: HTML reacts to a button click. (a) False (b) True
  26. 26.Which of these does CSS do? (a) shows a pop-up message (b) reacts to a button click (c) puts a picture on a page (d) sets colours and fonts
  27. 27.True or false: JavaScript changes the page live. (a) True (b) False
  28. 28.🧩 Which language reacts to a button click? (a) HTML (b) JavaScript (c) CSS
  29. 29.🧩 Which language makes a link? (a) HTML (b) CSS (c) JavaScript
  30. 30.Which of these does JavaScript do? (a) changes the text size (b) lays out the page (c) makes a form box (d) checks a quiz answer
  31. 31.🎨 One CSS file can style how many pages? (a) many pages (b) no pages (c) only one image (d) only one word
  32. 32.🧩 Which language changes the text size? (a) CSS (b) JavaScript (c) HTML
  33. 33.True or false: JavaScript rounds box corners. (a) False (b) True
  34. 34.🧩 Which language rounds box corners? (a) HTML (b) JavaScript (c) CSS
  35. 35.🧩 Which language gives the page structure? (a) HTML (b) CSS (c) JavaScript
  36. 36.True or false: JavaScript counts down a timer. (a) True (b) False
  37. 37.🔍 Which is the odd one out? (a) changes the text size (b) changes the page live (c) lays out the page (d) rounds box corners
  38. 38.🔍 Which is the odd one out? (a) makes a link (b) makes headings and lists (c) gives the page structure (d) shows a pop-up message
  39. 39.🔍 Which is the odd one out? (a) changes the page live (b) reacts to a button click (c) counts down a timer (d) makes a link
  40. 40.True or false: HTML gives the page structure. (a) False (b) True

Answer key

  1. counts down a timer
  2. CSS
  3. <style>
  4. JavaScript
  5. lays out the page
  6. style
  7. puts a picture on a page
  8. JavaScript
  9. True
  10. reacts to a button click
  11. HTML
  12. counts down a timer
  13. sets colours and fonts
  14. .css
  15. False
  16. True
  17. <link>
  18. False
  19. True
  20. rounds box corners
  21. CSS
  22. JavaScript
  23. CSS
  24. adds space around boxes
  25. False
  26. sets colours and fonts
  27. True
  28. JavaScript
  29. HTML
  30. checks a quiz answer
  31. many pages
  32. CSS
  33. False
  34. CSS
  35. HTML
  36. True
  37. changes the page live
  38. shows a pop-up message
  39. makes a link
  40. True

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