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