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