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