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