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