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