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