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