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