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