w3C validation on img
-
This plugin throws validation errors on the images.
For example, validator.w3c.org returns a message:
Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead.Using code like this:
<img height="auto" width="100%" style="max-width:360px;" src="/mysource.jpg">
Should be converted to something like this:
<img style="height:auto; width:100%; max-width:360px;" src="/mysource.jpg">
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘w3C validation on img’ is closed to new replies.