← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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