Andrew's Digital Garden

#todo

srcset sizes source media aspect-ratio img vs picture srcset and sizes is on img as well, when to use one over the other? because you have different types of images, not just sizes source can do a lot more with media for example, or even just type same image at different sizes - use img, different images - use picture + source img as fallback using media with width queries vs sizes - what's the difference?

https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Responsive_images https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/picture https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source

[[html]]

20261014104150-picture-element