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