Ask HN: Should I validate my HTML?
I have been doing web development for a while now and up until a few years ago I would validate the HTML and CSS of the sites that I built. Is there any value in validating HTML?
As an aside, HN has quite a few validation errors: http://validator.w3.org/check?uri=https%3A%2F%2Fnews.ycombinator.com&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices
5 comments
[ 3.1 ms ] story [ 24.8 ms ] threadHaving HTML and CSS that doesn't validate is fine if you understand why it isn't validating and you understand the consequences.
In my opinion the robustness principle (be generous in what you accept) is harmful for the web; there's a lot of broken markup lying around.
Perhaps we should design an image badge that says "This site has invalid HTML!" to go along with Reid Hoffman's motto, "If you are not embarrassed by the first version of your product, you've launched too late."