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