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