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