← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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