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