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