← What CSS does lesson New set →

CSS Worksheet: What Is CSS

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

Answer key

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

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