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