← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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