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