← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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