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