Answer
The `srcset` attribute lists image files for different screen sizes or pixel densities. β’ It is written inside an elementβs opening tag. β’ The HTML Standard limits which elements may use it and which values are valid. β’ Browsers apply the attribute when they process the element or the resource it controls.
💡 Simple Example
<img src="small.jpg" srcset="small.jpg 480w, large.jpg 1200w" alt="Beach">
⚡ Quick Revision
Srcset gives the browser several image choices.