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