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