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