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