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