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