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