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