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