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