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