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