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