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