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