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