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