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