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