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