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