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