@anmolthedeveloper
Posted
Hello, Congratulations on completing this challenge
The <picture> tag is commonly used for responsive images, where different image sources are provided for different screen sizes and devices, and for art direction, where different images are used for different contexts or layouts. Example:
<picture>
<source media="(max-width: 768px)" srcset="small-image.jpg">
<source media="(min-width: 769px)" srcset="large-image.jpg">
<img src="fallback-image.jpg" alt="Example image">
</picture>
Here's a detailed reference: here
Marked as helpful
@mFatihGorhan
Posted
@anmolthedeveloper Thank you very much, I learned something new thanks to you.