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