3 ms·
Sorry, that's silly. Web pages break all the time. If they would break because of invalid HTML, they would also already break during your tests. If you use so
by bhaak 13y ago
Sorry, that's silly. Web pages break all the time.
If they would break because of invalid HTML, they would also already break during your tests.
If you use some HTML injection services like ads or analytics that make valid HTML invalid, then it's great that it breaks because it will show you immediately on your tests that these services suck.
- danbee 13y agoWhat if you have no choice but to rely on those services? The person coding the site isn't always the decision maker.
- bhaak 13y agoYes but you have an error in your reasoning. If browsers would error out on invalid content then those services would either provide valid content or they would go bust. And XML/XHTML is much easier to parse and for producing valid content than HTML because it is much more consistent and has less history package than HTML. It is just that today, we still have tag-soup and error-tolerant parsers in the browsers and of course lots and lots HTML producer are producing shitty HTML and you can't just switch on a strict parsing. But if history would have taken a slightly different turn, we would be talking about XHTML5 and not HTML5.