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