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