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