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