DEV Community

Discussion on: Optimizing images for the web - an in-depth guide

malvoz profile image
Robert Linder • Edited on

Also, to improve performance and avoid content shifts - remember to set the width and height attributes for <img>, more info in this video from Jen Simmons of the CSS Working Group: