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