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