Responsive images can be implemented using the _______ attribute in HTML.
- img-size
- responsive
- size
- srcset
Responsive images can be implemented using the srcset attribute in HTML. This attribute allows the browser to choose the most appropriate image source based on the user's device characteristics, enabling a better user experience across various screen sizes.
Loading...
Related Quiz
- The HTML tag is used to represent _______ text.
- You're working on a small project with rapid iterations. Which Git workflow would be most suitable, and why?
- You're designing a software system where you need to model different types of vehicles. Explain how you would utilize OOP concepts such as inheritance and polymorphism in this scenario.
- _______ is a principle in OOP that promotes the idea of coding to an interface rather than an implementation.
- Your team needs to develop a real-time chat application. Which framework would you recommend and why?