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