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