Best of HTML5

HTML5 features are starting to filter onto the Web. We look at some of the best

April 22, 2010
Best of HTML5

HTML5, the latest version of the Web’s underpinning language, has been in development since 2004 and, although not finished yet, is starting to affect the way the web works. We look at some of the best features of HTML5, specifically the ones already on the way to users’ desktops.

Native video

Until recently web-based video relied on Flash, Adobe’s rich media language. But HTML could put an end to that with its own native video tag. In HTML 5 it is not only as easy to embed a video in a website as it has been to embed an image – using just one tag – but it also opens the way for a host of additional features. Using the HTML5 video tag developers can embed videos without third-party codes and manipulate the videos in real-time. A demonstration of HTML5′s video capabilities can be found here.

Canvas

In plain English, Canvas is an area in HTML5 that allows users to draw. The canvas can be scaled by width or height and, coupled with Javascript, can be used to accept user input, provide animations, edit images and a host of other features. Again, like the video tag, developers can use the canvas tag to create regions of dynamic content without relying on external plugins. There are a number of simple and more advanced examples of canvas at work on the Internet.

Geo-Location

HTML5′s geo-location capabilities are already being included in many popular browsers. The geo-location features allow users to share their current location with the site they are visiting. The feature uses a combination of GPS, WiFi, IP address and Bluetooth to determine the user’s position. Typically this is more functional on mobile devices with built-in GPS or location-aware hardware. There are many opportunities for geo-location-capable browsers, including customised search results, location-specific maps and listings and a host of others. Users have to actively give permission to a site to obtain their location to prevent against abuse. A geo-location example can be found here.

Offline storage

Offline storage is a lot like Google’s Gears except without needing a plugin. Gears first introduced the idea of storing data locally so that applications could continue to work even when disconnected from the network. Offline storage is also like seriously beefed-up cookies, with significantly more storage space. This means that anything from user details to email can be stored locally and used by web applications.

Local file access

Local file access is likely to be at the heart of future web applications. This new capability allows web-based applications to access and manage files stored on a local hard disk. This means that users won’t have to upload files to a remote server before being able to manipulate them. For example, a photo management application could be used to manipulate an image stored locally, or even view thumbnails, without needing to upload the image first. The potential in this is significant as it paves the way for web applications to behave the same way as desktop-based applications and making browsers more like an application platform than simply a web viewer.

Most of the examples above will only work on relatively new browsers. For other examples have a look here.

Best of HTML5 << Discussion

Related links

Flash clash

Firefox 3.6 ready to roll

Join the conversation

Connect with MyBB

twitterfacebookandroidappleblackberrynewsletterfeed

Poll

How would you describe the quality of your broadband connection?

View Results

Loading ... Loading ...

More News

Internet bank fraud affects few: Absa

SIM swap fraud fix

Although small, the number of defrauded customers is still unacceptable, according to Absa’s head of digital channels and payments

Internet in SA: English vs Afrikaans vs African languages

SA tech

Latest Effective Measure statistics reveal the most popular languages among Internet users in South Africa

Joburg City Power in court over R800-million tender

Joburg City Power

Numsa is taking Johannesburg City Power to court over a R800 million tender

Digital reincarnation for ancient Dunhuang Buddhist art

Dunhuang Buddhist art

The unique appeal of the Dunhuang cave art is the very thing that is putting them under threat

bool(true)