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