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