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