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