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