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