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

Roberto_Store

Now On Sale, Unlocked iPhone 4S / Galaxy Note In Factory Box. Roberto-Techie(UK) ”Now on Sales” Smartphone, Android,Tablets,Gadget &...

2 hours ago by Roberto_Store on Samsung Galaxy S III lined up for sale
Paul Smyth

Is this classic FUD? One thing I would definitely have notice is a Mozilla threat to stop supporting GNU/Linux.

4 hours ago by Paul Smyth via Facebook on Firefox rapid release improves Fedora Linux
UnderINK

I agree with the previous commenter wholeheartedly. I couldn't say it better myself. This is very 'Big Brother'. And while I agree with protecting...

8 hours ago by UnderINK on European e-identity plan to be unveiled this month
Simon Bisson and Mary Branscombe

Nice to see that Turing's idea of a general purpose computer doing once-hardware-powered tasks in software is now universal ;-) Mary

14 hours ago by Simon Bisson and Mary Branscombe on Software with everything
Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

17 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

22 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

22 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

24 hours ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

1 day ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

1 day ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

1 day ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

1 day ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

2 days ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

2 days ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

2 days ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

2 days ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

2 days ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

2 days ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

2 days ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

2 days ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT