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