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