← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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