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