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