← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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