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