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