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