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