← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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