← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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