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