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