← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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