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