← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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