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