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