In an attempt to understand if W3C validation can assist better DOM rendering or if it is just a standard for HTML coding, I tried to validate major websites but all of them fail with some errors.
Here are typical examples:
- google.com **36 Errors, 2 warning(s)**
- facebook.com **42 Errors**
- youtube.com **91 Errors, 3 warning(s)**
- yahoo.com **212 Errors, 8 warning(s)**
- amazon.com **510 Errors, 138 warning(s)**
When major websites do not seem to spend enough time for W3C validation, is it needed to spend time to do so for small- and medium-sized websites? I think this question actually contains two subjects (both of them interesting): 1) Do I need to generate valid HTML? 2) Why don't they do it?
以上就是Why do major websites not pass W3C validation properly?的详细内容，更多请关注web前端其它相关文章！