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