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