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