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