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