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