Videos
Is W3C validation necessary for SEO?
Does W3C validation improve page speed?
How do I know if my website passes W3C validation?
Hello this is willijkm speaking. actually i read a book about html and in a chapter of this book speak about W3C VALIDATOR but i don't quiet understand it, Can you help me? Thanks.
» npm install w3c-html-validator
Maybe this is a possible update:
In previous answers and comments only a SOAP API was mentioned, which is however, as described here, outdated.
A possibility to use the new(?) API is described here:
https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.w3.org%2F&out=json
Maybe someone can confirm this.
Unfortunately, you have to set up a proxy to do this due the cross-domain restriction.
How to call SOAP WS from Javascript/jQuery
It's been 20 years since I learned the bulk of my web dev skills, and I'm very much stuck in my old ways. Every so often I realize I've been wasting time doing something the hard way when there's no need for it anymore, it's just what is familiar.
The main point of validating HTML/CSS back in the day was to ensure your site worked/looked the same regardless of which browser it was accessed with. Web standards have developed enough by now that it's no longer an issue, rather the focus now is on various devices/screen sizes.
(If anyone has no clue what I'm talking about: https://validator.w3.org/)
Does validation serve much purpose beyond double-checking your syntax? Is there a better way to do that when writing a page by hand?