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