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