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