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