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