HTML: — It stands for HyperText Markup Language, a major language for creating web pages. It is a medium to set a structured layout of any web page and categorized it into critical elements such as headings, paragraphs, lists, links, quotes and other items. It is written with tags surrounded by angle brackets. The language also let the page to embed images and AV (audio-video) objects to make the web page more interactive.
HTML5:— A next version of HTML standard similar to its early predecessors like HTML 4.01 and XHTML 1.1. This new version has the ability to incorporate features like video playback and drag-and-drop that have been previously dependent on third-party browser plug-ins such as Adobe Flash, Microsoft Silverlight, and Google Gears.
Some of the new elements and attributes introduced by HTML5:—
Canvas Element: — It is actually an img element which is dynamic instead of static. It is a particular space in a page with defined dimensions, where a programmer can draw dynamic images, show animations and other dynamic content. It can also be used for generating dynamic charts and graphs, develop browser based games or applications for drawing/painting—in simple words it can deliver features and create environment which Flash currently provides.
Video Element: — This video element has been introduced in HTML5 replacing the object element. The special purpose of drafting this element is to include videos or movies which are still embedded in a web page with the help of Adobe Flash Player.
Since, most of the browsers (except Apple iPhone and iPad and on Android or less) have Adobe Flash Player installed in it and the video is played by the help of this 3rd party application. HTML5’s video element will help the developers to include the videos/movies and will create a new standard to show video online without using any 3rd party application or add-on.
Offline Web Applications:— It enables the user to keep its interaction on with web applications & document even if your network connection is unavailable or ruptured.
For instance the user can continue to access its email locally without having connected to the internet or installing an external client.
Geolocation: — Identifying a user’s location has always been a curiosity, for various reasons, and is not a new thing on web and is being practiced at different levels. In fact most websites do this by means of IP address and try to detect the actual location of their visitors/users. But, using IP address as a location identifier is not always reliable, so HTML5’s geolocation is an alternate method to correctly pinpointing the exact location of a user. The new idea is to get the location information from WiFi towers and GPS.
These features and many other are being included in this new revolutionary version of HTML to give the user a rich experience over a light and single platform. HTML5 will allow easy web activities such as video upload on blog and searching for a store in your browser on your smart phone/android will become easy.
HTML5 or Flash: Who Commands the Future?
HTML is principle to whatever we see in our web browser. This language is a reason to all the static text and image content that appears on the web, but this markup language has really offered nothing dynamic. Long ago Flash came as the answer to all the dynamic activities, that we see in the web, and it allowed the browsers to display rich, dynamic and interactive contents such as audio, video & animation.
But now with the advent of HTML5, the speculation what everyone making is that Adobe might take a beating in this race. In web application development, it does not only give challenge to Flash alone, but to Microsoft and Java as well.
Four features in which we try to compare HTML5 & Flash:
Both are free to use but flash development kit by Adobe is expensive. Where on the other hand, HTML does not own by anyone and you just need a text editor to access it.
Flash is full of features and provides many advanced effects, which are only possible in flash. There are many flash-based games, and 3rd party applications’ features such as Gmail (multiple file upload feature) which are largely depended on this technology and it would be hard for HTML5 to replace it.
3. Wide Acceptance
HTML5 has worldwide acceptance. Since it runs through browser and does not need a separate plug-in like its counter part flash. Also flash is banner from iPhone platforms and applications.
When tested on Mac and Window, both Flash and HTML5 shows varied results leaving the discussion unconcluded. No body can be termed as a clear winner.
Both the technologies have their positives and negatives, however going through all the major discussion it has been observed that the future of the web development lies with HTML5.