← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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