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