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