Zend Certified Engineer

phpguru.org

Quality PHP and Javascript code
Download RGraph: HTML5 canvas graph library... Home ~ Downloads ~ FAQs ~ Licensing
RSS Feed RSS Feed
Follow me on Twitter Follow me on Twitter

Add to Google...

HTML5 & CSS3

Articles

Javascript

PHP5

PHP4






Bookmark with delicious tweet this site Post to Google Buzz! Stumble! this site

Whats new in HTML5?

Introduction

HTML4 has been with us for a while now, roughly ten years. And it hasn't really seen a major update. Sure there's XHTML, but that did little more than make things slightly stricter - making you write better quality code if you were at all concerned with compliance. HTML5 does more than that. For one thing it adds a few new features. Not a huge amount, but the ones that it does add are very useful.

Work on HTML5 started way back in 2004, and now it's starting to get interesting. Browser support is increasing, and the element I'm most interested in - CANVAS - is supported by four out of the major five browsers.

So what's new?

Summary

HTML5 could well be the update to HTML that everyone has been waiting for. It provides useful additions to the language that will make building web based applications far more easily and efficiently, at the same time as making the code simpler.

Naturally not all browsers will support everything (<cough>MSIE</cough>), but it will come in time, and new items have been specifically designed to accomodate this. So everyone wins. Most browsers already support some of the specification, some for a long time. An example of this is <canvas>, supported by Firefox, Opera, Chrome and Safari. AFAIK Firefox 3.1 will support more of it, namely the <audio> and/or the <video> tags. Can't wait.

Related links



RGraph: HTML5 canvas graph library

Example graph made using RGraph

If you're interested in web development, then you may also be interested in RGraph: HTML5 canvas graph library. It uses HTML5 features to produce a wide variety of graph types. Because it moves the creation of graphs from the server to the client, it can significantly reduce the load on your server and your bandwidth usage.