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