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