R-54, 2nd Floor, Opposite Metro Pillar 45, Main Vikas Marg, Shakarpur, New Delhi - 110092
+91 981 181 9184

Blogs

Next Gen. HTML5

HTML is Hyper Text Markup Language used to create web pages. HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets like <html>, which normally comes in pairs like <p> and </p>. The first tag in a pair is the start tag or opening tag, and the second tag is known as the end tag or closing tag. The end tag is written with a slash before the tag name. Some tags also come without pair like <img>. HTML is a set of codes that is inserted into a plain text file to format the content. HTML tags are also used to add lists, tables, music, images and other elements to a web page. We as humans are always interested in upgrading and making technology better and better to suit and serve our needs, similarly HTML has undergone many versions and the latest version is HTML5.

HTML5 is very helpful in designing more interactive websites and has very cool features like Web Workers, Audio Video, Canvas, Application caches and Geolocation. Web Workers provides a standard method for browsers to run JavaScript in the background. With Web Workers, it is possible to make numerous “threads” that all run more or less at the same time, like a computer that can run multiple applications at the same time. These “background threads” are capable of carrying out complex mathematical calculations, access local storage or make network request while the main web page responds to user typing, clicking or scrolling.

Audio Video feature of HTML5 has made it possible to listen to an audio or see a video directly without the need of a plug in but a modern browser is needed that supports HTML5 like Firefox, chrome, opera etc. There are three types of video formats in HTML5, Safari, internet explorer and google chrome supports MPEG-4/AVC format, Firefox, opera and chrome supports OGG format and web m format is supported by Firefox, chrome and opera. So at least two types of video formats must be uploaded to server otherwise some visitors may not be able to see the video. It is possible to publish video very easily with one line of code. Canvas is a rectangle on the page where anything can be drawn according to need using JavaScript. HTML5 provides <canvas> as a resolution-dependent bitmap canvas which can be used to render game graphics, graphs or other visual images on the fly.

HTML5 defines a set of functions for defining paths, drawing shapes, creating gradients and applying transformations. Application caches feature in HTML5 starts storing more and more information locally on the visitor’s computer and retrieving it later. The idea is similar to cookies, but designed for larger quantities of information. Cookies are limited in size, whenever a request for a new page is made the browser sends the cookies to the web server which takes extra time and precious bandwidth. This cool feature of HTML5 allows storage to stay on the computer and it is accessible by web sites with JavaScript after the page is loaded. Google Gears is an excellent and precise example of this in action.

Geolocation in HTML5 is best known for use in mobile devices. Geolocation is the art of finding out where you are in the world at present and if you wish share that information among your trusted people. There are number of ways to figure out where you are like which cell tower your phone is making use of during talking, your IP address, your wireless network connection or dedicated GPS hardware that calculates longitude and latitude from information through satellites placed in the sky.

HTML5 is good and we should shift to HTML5 as it is easy to understand for us and more easy to understand for google spiders and thus gives a huge leap in search engine optimization ranking. HTML5 websites are easier to index by any user agent and the websites may appear in higher position in any search engine.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *