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