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