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