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