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