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