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