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