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