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