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