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