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