← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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