Ian Hickson (“Hixie” — WHATWG specification editor, CSS2.1 co-editor and Google’s W3C representative) recently published an interesting post on Google+. He’s occasionally contacted by people suggesting a better alternative to HTML but, in all cases, none have come close. Ian states that any technology would need to satisfy at least five objectives to displace existing web technologies:
- Be devoid of licensing requirements.
- Be vendor-neutral and accept input from everyone.
- Be device and media-neutral; it should work on PCs, TVs, mobiles, tablets, screen readers and any future hardware.
- Be content-neutral and not restrict itself to types of document or application.
- Be radically better than the existing web in every way; faster, more usable, more features, easier to develop, easier to monetize, etc.
HTML can fail objectives two and three. Technologies such as XHTML2 and XForms only satisfied one and three. Java and Flash struggle in all areas — and I’d also add Google’s Dart to that list.
Let’s face facts: web technology never has been and never will be perfect. There will always be shortcomings and compromises. After all, it took 15 years for native video support to arrive and vendors still haven’t agreed implementation details.
However, web technologies have been incredibly resilient despite alternatives offered from Microsoft, Google, Apple, Adobe, Sun and Oracle:
- HTML has its roots in SGML as it did in the early 1990s.
- CSS was devised in 1996 and retains the same selector / property syntax.
All survived because they were the first practical web technologies which could be used without paying royalties. Better options may appear, but it’s difficult to imagine ones which would receive universal vendor agreement and have commercial benefits which offset the substantial investment required to supersede HTML.
But perhaps you know something I don’t? Gaze into your crystal balls and let me know whether HTML has a long-term future or better alternatives are around the corner …
If you enjoyed reading this post, you’ll love Learnable; the place to learn fresh skills and techniques from the masters. Members get instant access to all of SitePoint’s ebooks and interactive online courses, like Build Your First Website: Getting Started with HTML and CSS.
Craig is a freelance UK web consultant who built his first page for IE2.0 in 1995. Since that time he's been advocating standards, accessibility, and best-practice HTML5 techniques. He's created enterprise specifications, websites and online applications for companies and organisations including the UK Parliament, the European Parliament, the Department of Energy & Climate Change, Microsoft, and more. He's written more than 1,000 articles for SitePoint and you can find him @craigbuckler.
Your First Year in Code
Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers
Jump Start Git, 2nd Edition