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