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