User-893317190 posted
Hi InspiredJide,
If you want responsive images, you could consider picture tag.
<picture>
<source media="(min-width: 650px)" srcset="img_pink_flowers.jpg">
<source media="(min-width: 465px)" srcset="img_white_flower.jpg">
<img src="img_orange_flowers.jpg" alt="Flowers" style="width:auto;">
</picture>
It will choose the most consistent image according to the media property of source element.
If no one is selected, the img element will be chosen.
For more information, you could refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
Best regards,
Ackerly Xu