← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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