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