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