Will 2008 prove the year the web grew up?

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

COMMENT

If the tit-for-tat tantrums of the Microsoft-Netscape browser wars were the web's pimply adolescence, then the dot-com bust of 2000 was its traumatic entry into adulthood. Perhaps 2008 will turn out to be the year the web grew up, says Bruce Lawson.

Part of the web's coming of age has to be the publication in January 2008 of the first working draft of the World Wide Web Consortium's (W3C's) HTML 5 specification.

After three years of guerrilla spec development outside the W3C by the Web Hypertext Application Technology Working Group (WhatWG), led by Apple, Mozilla and Opera, the W3C reversed its previous decision to freeze HTML at 2002's HTML 4.01.

The W3C had originally declared that the future lay in XML, but changed its mind and decided to evolve HTML using the WhatWG spec as the basis.

The HTML 5 specification is still in development, and it's far from perfect. I'll come back to that in a later column. Some of its imperfections are due to two deliberate design decisions.

The first decision is that HTML 5 should reflect what people actually do with their websites, so the spec has to be practical, rather than theoretical. A philosophically pure document defining elements no-one wants to use is certain to fail.

The second decision is that HTML 5 should be compatible with existing browsers as far as possible, while simultaneously ensuring the language takes account of emerging trends so that it's future-proof.

That future-proofing is vital to ensure the language can stave off competition from proprietary platforms such as Microsoft's Silverlight and Adobe's Flash.

Open standards
If the web is to be the open, free and democratic environment that Tim Berners-Lee envisaged — and I believe it absolutely must remain so — then web developers need open standards, such as HTML 5, scalable vector graphics (SVG) and cascading style sheets (CSS), that include such features as proper typography, fast dynamic graphics capability, offline storage, and easy inclusion of audio and video.

All these features are already commonplace in Web 2.0, but require plug-ins, hackery or over-complicated code because, like a beloved great uncle, HTML 4 is ready for retirement and unable to deal with the complexities of the modern web.

It has been clear, since the Ajax revolution, that the web will become increasingly dynamic, requiring more and more manipulation of a browser's document object model (DOM) with JavaScript to dynamically insert, remove or modify elements without a trip back to the server.

The W3C acknowledges this, and recently published a specification called the Web Accessibility Initiative Accessible Rich Internet Applications (WAI-Aria) roadmap, which adds attributes to HTML 4 that make Ajax interactions accessible to disabled people using screen-readers or in-car web browsers that provide voice, rather than screen, output.

All the non-Microsoft browser manufacturers also acknowledge this trend, and are working on ever-faster JavaScript engines to render the Ajax-powered web.

To work successfully across the increasing range of browsers, operating systems and devices that people use to browse the web, the scripts require a stable, predictable DOM.

In the web's infancy, browsers were very forgiving of non-standard or invalid HTML — and that laxity meant it was possible for anyone to view source, cut and paste, and publish a site, powering the incredible growth of the web. But, faced with incorrect code, each browser constructs different DOMs.

Something as simple as '<b>Hello<i>World.</b>Goodbye</i>' produces incompatible DOMs, due to the incorrect nesting of the <b> and <i> elements, for example.

Defining error-handling
HTML 5 attempts to remedy this situation by defining error-handling — how browsers should deal with invalid markup so that they produce identical DOMs for the JavaScript to manipulate.

That's fine looking forward, but older browsers, such as Internet Explorer 6 and 7, are going to be with us for a long, long time, and people using them have a right to use our sites, so it's important developers make sites compatible by making sure they deliver an interoperable DOM. They need to ensure the code they write is valid and follows W3C standards.

The web is becoming ubiquitous. As a platform, it empowers individuals, connects businesses and is a retail platform generating billions of pounds a year. Such an important business tool needs to be developed by professionals, and one of the ways to differentiate between professional and amateur practitioners is their adherence to web standards.

The grassroots lobbying group, the Web Standards Project — disclosure: I'm a Web Standards Project taskforce member — has had great success in persuading manufacturers of browsers and authoring tools, such as Dreamweaver, to follow the standards. That was easy. They are relatively few in number and simple to find and then pester. The challenge now is to persuade developers to read up on HTML 5, WAI-Aria, SVG and CSS and to use them in their own work.

So, as we count down to the new year, why not make it your resolution to use the open web standards and ensure your web pages validate? This year, the web grew up. Did your coding methods?

Bruce Lawson works as an open-web-standards evangelist for Opera. He's been involved in standards and accessibility since 2002. The views expressed in this column are his own.

Talkback

This post has been removed by a moderator.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

annonymous2

If Piratebay is a crime then so is borrowing a dvd you purchased to a family member or a friend. Why should we not be aloud to share. Most of the...

2 hours ago by annonymous2 on UK ISPs ordered to block Pirate Bay website
NanWag

File Services For Macintosh was causing Excel to prompt for Overwriting changes or Save Another Copy because it was changing the timestamp on the...

2 hours ago by NanWag on Windows Server 2008 drops the ball for Mac compatibility
Regis Machado

creative cloud $48/month in the USA, £48/month in the UK ($79). good for the competitors

4 hours ago by Regis Machado via Facebook on Adobe move promotes piracy
Tom Espiner

Hello KosGirl, Good question. I've asked Belfius for a response. The latest post I can find on Pastebin about it is here:...

5 hours ago by Tom Espiner on Hackers hold bank to ransom over stolen data
KosGirl

Have there been any further updates to this story? I can't find any information on whether the hackers released the data or not.

5 hours ago by KosGirl on Hackers hold bank to ransom over stolen data
SandJ

I have done 7 speed tests this morning on different speed test tools. They tell me my download speed is: 12.3, 12.3, 12.3, 11.1, 12.7, 12.7, 11.7...

6 hours ago by SandJ on Watchdog: TalkTalk's broadband speed test misled users
Jack Schofield

@Mary Microsoft could always send Mozilla a spec sheet and oblige them to meet the same standards as IE. Then Mozilla can spend millions of...

10 hours ago by Jack Schofield on Windows RT browsers and the point of Windows RT
goth1csnake3

Not before time, that people making films,dvd's get whats coming to them. Well done, Virgin Media.

12 hours ago by goth1csnake3 on Virgin Media: Spotify deal will bring down piracy
Simon Bisson and Mary Branscombe

Apex - the question then is what about letting the user choose to have a tablet where they don't have to have that responsibility? why can't the...

21 hours ago by Simon Bisson and Mary Branscombe on Windows RT browsers and the point of Windows RT
Simon Bisson and Mary Branscombe

Moley, Apex, thanks; I think there's an interesting other dimension of choice - the choice to have a platform that is 'locked down' in the sense...

22 hours ago by Simon Bisson and Mary Branscombe on Mozilla accuses Microsoft of shutting Firefox out of WOA
Yellowcave

Not surprised. I once used the methods to let my firewall just notify me of breaches. Not one single logged event was genuine. Once, we all...

1 day ago by Yellowcave on Mobile porn filters catch innocent content, says report
duplex

live realy sucks in facebook becuase people hack your profile

1 day ago by duplex on Irish watchdog: Facebook privacy still falls short
Ed Macnair

If only it was that simple. When you start accessing Cloud applications you are stuck with the security model the vendor provides...........unless...

1 day ago by Ed Macnair via Facebook on IT security? You're doing it wrong!
Phil at Cloud4

Another good updaet, I have enjoyed going on the journey reading this series on SharePoint 2010 and have learned alot. Great writing.

1 day ago by Phil at Cloud4 on Designing a SharePoint farm: Tiers before bedtime
muteen

roumers of an ipad Mini, isnt that just an iTouch!?

1 day ago by muteen on Apple rebrands iPad 4G as 'Wi-Fi + Cellular' for UK
apexwm

Thanks for this article and bringing this issue to light. Unfortunately this type of activity is common not only with Adobe, but many other...

1 day ago by apexwm on Adobe move promotes piracy
Andy Bolstridge

there's a very thin line between tax avoidance and tax efficiency - earning £850 a month and claiming dividends to bring my income up to normal...

1 day ago by Andy Bolstridge via Facebook on The Idle Self-employed
Andy Bolstridge

I see that they are happy to announce these numbers.. but no-one will take any notice until they start announcing sales numbers too.

1 day ago by Andy Bolstridge via Facebook on Microsoft's score card for Smoked by Windows Phone
AndyPagin

I saw a Windows phone about a year ago, haven't seen once since, and quite a few people own phones in the City of London.

1 day ago by AndyPagin on Microsoft's score card for Smoked by Windows Phone
helice041

Well said. You can add the change differences between US $ and Euro for the adobe cloud subscription and the very clouded informations about when...

2 days ago by helice041 on Adobe move promotes piracy