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