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