← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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