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