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