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