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