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