3 ms·
> All <img> have height and width set (Don't specify px or %) So what unit should be used?
by ravenstine 9y ago
> All <img> have height and width set (Don't specify px or %)
So what unit should be used?
- CM30 9y agoNone, image height and width attributes don't have the unit included. (They generally assume these values are in pixels by default[1]) https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img https://developer.mozilla.org/en-US/docs/Web/HTML/Element/im...