Why is the HTML specification a failure?
Introduction
The HTML specification is a failure because, of its intended users, practically no one is using it as it was intended to be used. Why? Is HTML too difficult to use correctly? Is the incorrect use of HTML explained by a lack of education? Did W3C mismanage the deployment of HTML? Or is the failure of the HTML specification due to a lack of error feedback?
Background
HTML was designed so that semi-technical people could write HTML using a text editor (i.e.: writing HTML by hand). However, even in the early days of the Web, when HTML was a smaller and simpler specification, even when HTML was written by fairly technical people, it was not written according to the specification. Web browser vendors, with support from W3C, decided that Web browsers should render incorrectly written HTML without any error feedback to the user. Twenty years later, only a very small percentage of Web pages are written to the HTML specification.
Is HTML too difficult to use correctly?
Is there something fundamentally wrong with HTML that could explain why people simply cannot use it correctly? Some parts of HTML can be confusing to new users such as the need to escape certain characters, how to properly write empty elements and boolean attributes, and how to apply element nesting rules. Even if HTML were difficult to author, could this fact alone explain why over 90 percent of the pages on the Web do not conform to the HTML specification?
Is incorrect use of HTML explained by lack of education?
Up to the late 1990's, good HTML education material (guides, references, tutorials, etc.) was hard to come by. If you were a Web developer/designer, you had to use the HTML specification document, which was written for tool vendors. So in the early days of the Web, lack of education could explain some of the incorrect use of HTML.
Yet today there is an abundance of good quality education material, and still the new generation of Web designers/developers are just as ignorant of the correct use of HTML as their predecessors.
Did W3C mismanage the deployment of HTML?
W3C is a standards body that is financially supported by paying members. In exchange for membership fees, W3C provides its members access to private documentation and support on its specifications, and the ability to participate in the development of the specifications. Until recently, W3C was not engaged with Web site creators who represented the majority of the intended users of the HTML specification. Did W3C create a specification for general Web site creators but did not give them the necessary support to use it correctly?
Is the failure of the HTML specification due to a lack of error feedback?
When modern Web browsers encounter a Web page with incorrectly written HTML, they silently try to auto-correct the HTML and render the page, without letting the user know of any errors. Given no error feedback, how are people supposed to know if they are writing HTML to specification?
There are two types of error feedback - active error feedback and passive error feedback. Active error feedback is when a Web browser encounters a Web page with errors and stops rendering the page, notifying the user of the errors and presenting the user with the option of rendering the page by auto-correction. Passive error feedback is when a Web browser encounters a Web page with errors, auto-corrects the errors as best it can, then renders the page with a clearly visible icon or message indicating that the Web page contained errors. Would active or passive error feedback encourage more users to use HTML correctly?
Conclusion
It is important to find out why the HTML specification failed so that past mistakes are not repeated.
Comments are closed for this article.