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