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