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