← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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