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