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