← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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