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