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