the 2x variant of the <code>srcset</code> will be used [<a href="image-2x.png">2x image</a>].
</p>
-<img src="image-src.png" srcset="image-1x.png 1x, image-2x.png 2x">
+<img src="image-src.png" srcset="image-1x.png 1x, image-2x.png 2x" alt="Example of the srcset attribute. Image contains a coloured striped pattern with some inline text that indicates which of the candidate images were selected.">
<p>
The HTML for the above image is: