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