Will HTML5 make the Web even more invalid?
Currently, each Web browser silently auto-corrects invalid HTML in a different way. HTML5 will harmonize the auto-correction of invalid HTML, so that all browsers will fix errors in the same way. Uniform auto-correction of invalid HTML behaviour across all browsers can only lead to good things - right? Or will this create even more invalid HTML on the Web?
Hey, my Web pages work in all browsers!
For most Web site creators, the only feedback that there is something wrong with their Web pages is the different rendering in different browsers. With HTML5, all browsers will fix errors in the same way, which means invalid HTML will render the same way in all browsers and fewer people than ever will know that they are authoring invalid HTML.
Validators?... We don't need no stinkin' validators!
With uniform auto-correction behaviour across all browsers, many Web site creators who currently use validators will rely on them less. Why? - because the two main reasons for using validators become irrelevant with consistent auto-error correction in all browsers:
- Only valid HTML behaves consistently across browsers
- This reason for using a validator becomes irrelevant because with HTML5, all browsers will render invalid Web pages the same way.
- Only valid HTML future-proofs your work
- Future browsers are likely to be backwards compatible by supporting the HTML5 auto-correction behaviour, making this reason for validating irrelevant.
With HTML5, all browsers will fix errors in the same way, which means there are fewer reasons to validate HTML, and fewer people than ever will know that they are authoring invalid HTML.
Wow, publishing on the Web has got a whole lot easier with HTML5!
Since all five major browser vendors signed off on the HTML5 auto-correction behaviour, it must be pretty good right? Better auto-correction of invalid HTML means less skills and effort required to create something that Web browsers will recognize/render as a Web page. Invalid HTML that did not render correctly before might render adequately now, and fewer people than ever will know that they are authoring invalid HTML.
Conclusion
Uniform behaviour across all browsers is a good thing only if the behaviour itself is good. However, silent auto-correction of invalid HTML is a bad behaviour and if all browsers implement uniform silent auto-correction of HTML per the HTML5 spec, this will lead to more invalid HTML on the Web.
Comments are closed for this article.