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