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