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