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