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