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