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