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