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