← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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