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