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