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