← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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