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