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