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