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