HTML Checking for Large Sites

Rocket Validator automatically checks your pages on the W3C Validator.

Bad value “X%” for attribute “width” on element “img”: Expected a digit but saw “%” instead.

<img> elements accept a width attribute to specify the size in pixels. This value can only be an integer, it should not contain units or %. If you need to specify a percentage width, you can do that with CSS:

<img src="photo.jpg" alt="red car" style="width:100%;">

Related W3C validator issues

Still checking your large sites one page at a time?

Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.