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