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