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