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