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