Friday, August 26, 2011

Introduction to HTML5

HTML5 is the next iteration of the technology used to structure and present content on the World Wide Web, short for HyperText Markup Language. Although most of the elements are already defined by W3C and implementable, it is not due for W3C Recommendation until 2022.

A major advantage of developing in HTML5 is as a replacement for Flash in graphically rich websites. Currently, if you visit a site with moving or slanted graphics - it will most likely be developed in Flash. The reason for this is that HTML 4.1 and below has very little graphical functionality in comparison to Flash. A good example of this is the German HTC website: http://www.htcsense.dk/(as viewed August 2011). In classic HTML, this site would be impossible to create due to the slanted angle of all the images. HTC have decided to produce this site in Flash, although exactly the same effects can be produced in HTML5.

Over the coming years we believe more and more web development agencies will choose to produce sites in HTML5 where they would otherwise have used Flash.

In summary the main advantages of using this over flash are:


a) Expense

Flash technology is owned by Adobe. As a developer, if I want to develop a Flash website then I would need to purchase the development environment from Adobe. In actual fact the majority of development agencies will already have purchased the environment needed for Flash development. So this argument really only applies to bedroom developers and students, who will either not have the funds for the flash IDE, or not justify the purchase as these people wouldn’t see the any return.

Although the above may seem of little importance to the website business owner, from a developer’s perspective it is crucial to allow new developers easy access to such tools. Otherwise there will only be a minority of developers able to create feature rich sites, and thereby depreciating the quality of the internet in general.


b) Availability

As most techies are aware, iPhones do not support flash. This is because Apple likes to maintain a strong hold over their hardware and the software that runs on it.

As Flash is a development platform, Apple will not allow it to run on their mobile devices, so any websites that use elements of flash will not render properly. Replicating any flash elements in HTML 5 allows much greater accessibility to a site using a smart phone.
It might also be worth considering the effect mobile HTML5 could have on AppStores in terms of mobile site versus applications. Using HTML5 could potentially allow a user to develop an accessible website for a smartphone without losing any functionality, due to its wide range of tools.

If a developer could run a flash application on an iPhone they could open up a means for uploading other homemade applications onto the phone, thereby diverting traffic away from the Apple Appstore (which turned over 1.7 billion dollars last year).


Another comparison to make is HTML5 “web application” and the standard desktop application. Due to other capabilities introduced in HTML5 it has become easier to create rich functionality in HTML5 web application which previously would have only been available to Desktop application developers. Such things as Web SQL Database Storage (which allows SQL style databases to be embedded into web applications) and Web Workers (provide a means to perform processor-intense tasks) open the door for larger web applications with greater functionality, without the need for installation.

Further thoughts on HTML5 from our technical team include the following;
  • As time moves on, HTML5 will take over the internet as the generally accepted standard for webpage markup.

  • Unlike the last release of XHTML from w3c, HTML5 does not try to impose rules on developers but rather increases our toolset.

  • HTML5 will also allow for much cleaner and consistent coding using the new elements and attributes.

There’s already a load of great examples of what HTML 5 can do, for example this collection of experiments on hakim.se, or this fantastic take on a twitter feed by 9elements. Currently HTML5 isn’t supported by older browsers, so the above links may only work using newer versions of IE, Firefox, Chrome and Safari.

The Rocktime Web Development Team is always working on innovations and bespoke coding to improve our client websites, microsites and online presence. Please give our Sales Team a call on +44 (0) 1202 678 777 to see how Rocktime can help you decide where using HTML5 can be of benefit within your marketing strategy.

Author: Dan Griffiths

1 comments:

Dids said...

Quote:
"As most techies are aware, iPhones do not support flash. This is because Apple likes to maintain a strong hold over their hardware and the software that runs on it."

Is it not because Flash would allow malicious code to be inserted? And Apple –rightly so– wants to keep the iOS a secure platform.

Post a Comment