← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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