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