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