← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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