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