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