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