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