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