← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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