srcset
srcset is an HTML attribute used on img and source elements to provide a list of image resources for responsive images. It allows authors to specify multiple versions of the same image at different resolutions or display widths, enabling the browser to pick the most appropriate candidate for a given device and layout.
Each item in a srcset list consists of a URL followed by an optional descriptor. Descriptors can
srcset can be used on img to provide replacements for the src attribute, or within a picture
Using srcset helps reduce data usage and improve perceived performance by delivering an image that matches
Example: <img src="image-800.jpg" srcset="image-320.jpg 320w, image-480.jpg 480w, image-800.jpg 800w" sizes="(max-width: 600px) 480px, 800px" alt="...">