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