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