← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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