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