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