← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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