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