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