Tarek Chaaban

Tarek Chaaban, M.Sc's official blog. It contains current web project portfolio, posts regarding his Canadian army experience, news, sports articles, and web tutorials on programming and using social networking technologies.

HTML5

HTML5′s due date is 2022 … Yes 2022 and it’s already the buzz word for 2010 !

We have seen an explosion of web apps developed using HTML5 by top companies such as GOOGLE , APPLE , Windows (IE) and many more .

We have also been seeing major debates that predict the nearing end of Flash …

So what is this HTML5 buzz all about ?

I had the chance to see the basics of HTML5 and here are my first thoughts :

  • It is basically nothing new, just a newly added tags for HTML …. It is mainly a better way to structure your document .
  • You can already do most of what you will be able to do in HTML5 by using advanced JavaScript / CSS techniques .
  • There is a lot of work to be done to develop a fully compatible web applications that are supported by the major browsers .

Remember the IE issues IE6 vs IE7 vs IE8 vs IE9 ? Well now you have to consider adding Firefox , Chrome , Safari & Opera to the list of browsers. HTML5 applications are not available in all browsers .

They insinuate that HTML5 is supposed to make the life of a developer / integrator easier ! Yeah right… Well, who knows, maybe in 2022 but right now, the case is far from it !

To demonstrate, here is an example of an HTML5 code :

Let’s say you want to embed a video using HTML5 , here is what you will need to do :

<video width=”600″ height=”400″ controls>
<source src=”my-html5-video.mp4″  type=’video/mp4; codecs=”avc1.42E01E, mp4a.40.2″‘>
<source src=”my-html5-video.webm” type=’video/webm; codecs=”vp8, vorbis”‘>
<source src=”my-html5-video.ogv”  type=’video/ogg; codecs=”theora, vorbis”‘>

<object width=”600″ height=”400″ type=”application/x-shockwave-flash” data=”path-to-swf-player.swf”>
<param name=”movie” value=”path-to-swf-player.swf” />
</object>
</video>

If you know the basics of HTML you will immediately notice that this code contains 4 versions of coding. (Yes you read it right! 4 versions!)

The companies behind the major browsers did not find a consensus on a unique web format yet, so each browser will support a different kind of video format. Unfortunately for us, the poor programmers/ developers, it will be a pain in the … to have HTML5 added …

To be fair and not focus on the negatives,

I would also like to point out that HTML5 will solve the issue of Mobile videos !! This is one of its major advantages and reasons behind its support by Apple and Google, the major mobile phone developers.

Final Words on HTML5

html5

Should you learn HTML5 now ?

Yes , the sooner the better … It is becoming a fact that HTML5 is the future of programming, the sooner you learn it, the easier it will become to adjust your coding and compatibility with emerging devices.  Otherwise, you will find it difficulty dealing with new products and browsers to remain ahead of the curve. Learning the HTML5 tags early will give you time to acquaint yourself with the coding that will make it easier for you to deal with new technologies.

I will try to experiment more with HTML5 next week and I will try to write a post on how to use the HTML5 Geo localization application .

Your turn now , what do you think of HTML5 ?

Tagged as: , , , , , ,

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.