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