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