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