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