The first working draft of HTML 5 is here!

By Anne van Kesteren

  • 26th April 2010, minor update

Introduction

On January 22nd 2008 the W3C published the First Public Working Draft of HTML 5 - this is a great step forward, as this draft has been in the works for several years. It was initially just being developed the WHATWG, with the W3C HTML Working Group coming on board to help out with it in March 2007. Alongside the HTML 5 draft a HTML 5 differences from HTML 4 document has been published, which gives a high-level overview of what new functionality HTML 5 brings.

Why is HTML 5 important?

There are several reasons why lots of people are devoting a hefty chunk of their time to HTML 5; the following are the main ones to consider:

  • HTML is the world's foremost markup language, and is basically "the language of the Web", but it has been practically unmaintained since HTML 4 was released in 1997. Consequently, a lot of content published on the Web today can't be rendered across browsers if they implement the HTML 4 specification strictly, and HTML 4 also has a lot of ambiguities. HTML 5 is solving these problems.
  • These days HTML is frequently used for web-based applications, even though it is a language primarily intended for use in static documents. Since HTML 4 was released more and more web applications have arisen and the great pains web developers go through using JavaScript to get their applications to work shows that there's a need for better application features. HTML 5 addresses this by adding native controls, storage and drawing APIs, and more.
  • HTML is under threat of being usurped from its position as "language of the Web" by proprietary technologies. In order for HTML to stay competitive with proprietary technologies and to keep the Web open it needs new functionality and even better interoperability between the various browser vendors. HTML 5 adds new functionality and provides browser vendors with watertight definitions to follow.

Does HTML 5 have any cool stuff?

A lot of the new functionality of HTML 5 is described in the aforementioned differences document, so I won't go into it in great detail here. HTML 5 will have new elements for defining more logical and semantically superior structure, such as section, header, and footer. It will also have new native controls, such as progress, datagrid and various new values for the type attribute of the input element. And it features a canvas element that can be used to dynamically create bitmap graphics using a sweet JavaScript API for 2D graphics (Opera has also created its own 3D Canvas! See below for a link to more information.)

What about Opera and HTML 5?

Opera already supports several features that are part of HTML 5:

  • Cross-document messaging
  • Server-sent events
  • Web Forms 2.0
  • The canvas element
  • The video element

There are various articles covering some of these subjects here on dev.opera.com:

Opera has previously released builds with support for the video element, the 3D canvas, and SVG video: A call for video on the web - Opera <video> release on Labs (old reference). As of Opera 10.50, the video element is now officially supported on Opera.

Where can I find even more information?

There are more HTML 5 resources outside dev.opera.com worth checking out:

Anne van Kesteren works for Opera Software from his home in the Netherlands. He also travels a fair bit to talk about standards. His goal is to keep the Web an open place and fix all the bugs in Web standards.


This article is licensed under a Creative Commons Attribution, Non Commercial - Share Alike 2.5 license.

Comments

The forum archive of this article is still available on My Opera.

No new comments accepted.