HTML5 defines a standard algorithm for rendering web pages, and this algorithm determines how error handling should be performed. In general, each browser should display invalid markup in the same way or should work just like tags that they cannot handle.
At the moment, I still see verification as a means of ensuring that markup works hypothetically in the same way in older browsers. Excluding these (because I hope they wonβt be forever), since any markup should have a certain behavior, no matter how awful it looks, does "valid HTML" really make any sense? It seems to me that an input is valid if it has a specific output, in which case this means that any HTML5 is valid. Is it useful to check the markup, given that this will not affect compatibility?
How did linepogl rephrase it in a comment, now that invalid HTML has been standardized, has it become valid?
html5
zneak
source share