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