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