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