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