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