| What to create | Exam |
| Which subject | Computer science |
| What age group | Year or Grade 11 |
| What topic | html and css |
| Question types | Open-ended |
| Number of questions | 10 |
| Number of answers | 10 |
| Correct answers | Exactly 1 |
| Show correct answers | |
| Use images (descriptions) | |
| Any other preferences |
Please answer the following questions related to HTML and CSS. Each question is open-ended, so provide your answers in detail where necessary.
What does HTML stand for, and what is its primary purpose?
Explain the difference between block-level elements and inline elements in HTML. Give two examples of each.
Describe the purpose of the <head> section in an HTML document. What types of elements can be included in this section?
What is CSS, and how does it enhance the appearance of a website?
What are selectors in CSS? Provide an example of a specific selector and explain its function.
How can you apply CSS styles to an HTML document? Describe at least three different methods.
What is the box model in CSS, and what are its components? List and explain each component briefly.
Explain the difference between absolute positioning and relative positioning in CSS. When would you use each?
What is the purpose of the <div> and <span> elements in HTML? How do they differ in terms of structure and use?
What are media queries in CSS, and why are they important in web design? Provide an example of how they might be used.
Thank you for participating in this quiz! Please ensure your answers are clear and concise.