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