← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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