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