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