The HTML isn't bad, sure, but the process of generating appropriately scaled and formatted copies of images can be if you don't have other build steps that require similar automation.
Appropriately scaled is always a problem at which point you hit save/export twice and you've done everything you need.
Unless rescaling an image itself is already too much work, in which case this has nothing to do with image formats or plain HTML sites in the first place.
Unless rescaling an image itself is already too much work, in which case this has nothing to do with image formats or plain HTML sites in the first place.