Use the element or the srcset and sizes attributes on the tag to provide different versions of an image for different device sizes.