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