img tags for icons use invalid width and height attribute
-
html validation fails in 2.9.5 because the <img> tag’s height and width properties have “px” behind them. This is not allowed in html, as the unit is always assumed to be pixels.
eg. <img width=”32px” height=”32px” (…)>
should be <img width=”32″ height=”32″ (…)>I know it’s an extremely minor issue, and it renders just fine in all browsers, but I like to keep my sites validated 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘img tags for icons use invalid width and height attribute’ is closed to new replies.