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