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