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