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