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