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