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