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