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