Srcset and sizes attributes
The `srcset` and `sizes` attributes on `img` (or `source`) elements allow authors to define various image resources and "hints" that assist a user agent to determine the most appropriate image source to display (e.g. high-resolution displays, small monitors, etc).
htmlsourceelement api: srcset
html element: source: srcset
3 results found.