Create a Quiz. The academic subject for which the text must be created - Computer science. Content must be appropriate for Year or Grade 11....
What to createExam
Which subjectComputer science
What age groupYear or Grade 11
What topichtml and css
Question typesOpen-ended
Number of questions10
Number of answers10
Correct answersExactly 1
Show correct answers
Use images (descriptions)
Any other preferences

Computer Science Quiz: HTML and CSS

Instructions

Please answer the following questions related to HTML and CSS. Each question is open-ended, so provide your answers in detail where necessary.

  1. What does HTML stand for, and what is its primary purpose?

  2. Explain the difference between block-level elements and inline elements in HTML. Give two examples of each.

  3. Describe the purpose of the <head> section in an HTML document. What types of elements can be included in this section?

  4. What is CSS, and how does it enhance the appearance of a website?

  5. What are selectors in CSS? Provide an example of a specific selector and explain its function.

  6. How can you apply CSS styles to an HTML document? Describe at least three different methods.

  7. What is the box model in CSS, and what are its components? List and explain each component briefly.

  8. Explain the difference between absolute positioning and relative positioning in CSS. When would you use each?

  9. What is the purpose of the <div> and <span> elements in HTML? How do they differ in terms of structure and use?

  10. What are media queries in CSS, and why are they important in web design? Provide an example of how they might be used.

Conclusion

Thank you for participating in this quiz! Please ensure your answers are clear and concise.