I understand that validating the code can be important and especially help those who are starting to correct errors and become more informed about obsolete elements in current versions of the languages.
But how much should I worry about validating my HTML
and CSS
, for example, my code HTML
gave an alert that I'm using an iframe that has a frameborder attribute, and it's obsolete, but this part of the code is actually a Faceboook plugin and anything I change in that part of the code it crashes (I'm not in favor of using these social plugins but it was the customer's requirement).
This has only been an example of things like libraries or frameworks that I have tried to use, or even browser hacks that I needed to use to fix CSS
problems in some browsers, and of course hacks are accused of validation errors.
I currently use this W3C validation only to correct simple errors that I have missed, and I do not try to meet 100% of what they indicate.
So, I wanted to know how much effort it takes to have your code validated 100% by W3C, I mean time and give up elements that you use but that you did not develop. Also, is there any real benefit in having the validation or is it simply a fix that lets you hang around saying that your code is good because the W3C said it is?
NOTE: I am not advocating completely crazy codes and bad done full of errors and etc.