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