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