← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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