: Using Google pagespeed service - w3 validator gives errors I've started using google pagespeed service and now when I check my site on http://validator.w3.org/ with doctype HTML5 and encoding UTF8
I've started using google pagespeed service and now when I check my site on validator.w3.org/ with doctype HTML5 and encoding UTF8 - I'm getting more than 80+ errors and 95% of them are errors to do with pagespeed
Egs of errors are
Attribute pagespeed_no_defer not allowed on element script at this point
Attribute pagespeed_lazy_src not allowed on element img at this point
Any idea what I should do about these
Thanks
More posts by @Pope3001725
2 Comments
Sorted by latest first Latest Oldest Best
You must be copying the pagespeed markup into the validator or validating from that page. If you want to get a valid report, you must point the validator to your page and not at the markup in the toolbar (assuming that's what you're doing). Pagespeed does not insert anything into your server markup.
I wouldn't worry about those errors. I'm not sure why pagespeed is putting those attributes in, but they don't seem to be hurting anything other than causing validation warnings.
As far as SEO goes Google Says Pages That Validate Do Not Get Ranking Boost. So having a few validation problems won't cause any problems on that front.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.