27 Jul' 15

HTML5 – The New APIs That Are Making It Cooler!


Tools used to create powerful and effective web applications are getting enhanced with every passing year. Hyper Text Markup Language (HTML), the basic markup language of the Internet, is continuing its work to improve the use of multimedia and keep things as easy as possible for humans and machines alike. However, the thing that has made the fifth version of this markup language, HTML5, so much cooler than what it had been before is the introduction of new Application Programming Interfaces (APIs) – a set of rules and protocols used to develop software applications.

What is an API?

In simple terms, API allows one software use the functionality of another. API is not a software-to-user interface, but a software-to-software one. An API, a list of specific programming instructions, is used to access Web-based applications. For instance, a flight-booking site uses its API when you enter your credit card information. The site sends the card number to a remote application in order to verify the accuracy of the information. If the information is correct, the remote application confirms the payment and sends back a report to the site saying it’s okay to issue you the tickets.

API closely resembles the Software as a Service (SaaS) distribution model. Anyone interested in leveraging the social nature of the Web must rely on interoperability. APIs efficiently share data and processes for use and re-use, and the information structure can help others build around the existing model. For example, the API of Amazon helps other developers to design products that are powered by the company’s service.

The New and Exciting APIs in HTML5

HTML5 is the latest revision of the HTML standard of the World Wide Web Consortium (W3C). In its quest of getting better, HTML5 has introduced new APIs that can be used with JavaScript simultaneously. Let us sneak a peek into the new and most exciting APIs, and their role in making HTML5 a lot cooler than before.

HTML Geo-location

The Geolocation API allows a user to provide web applications the scripted access to the present geographical location of the hosting device. It can help users with turn-by-turn navigation (GPS) and find points-of-interest near the user’s location.

HTML Local Storage

The Local Storage API allows web applications to access a user’s browser and store data locally. This doesn’t affect the speed or functionality of a website running on that specific browser. Moreover, the size limit is much larger than cookies, too.

HTML Web Workers

The Web Workers API allows web applications to execute scripts running parallel to the user interface (UI) page by spawning background workers. Without having to wait for a responsive page to finish the script, users can continue doing whatever they want.

HTML Application Cache

The Application Cache API allows devices to cache a web application and access it without an Internet connection. This helps cached resources to load alongside the browser, thus reducing the server load by downloading only updated resources.


The Server-Sent Events (SSE) API allows web pages get automatic updates from the server. This functionality was available earlier, but web pages had to check for any available update manually. With SSE API, the updates come automatically.

These new HTML APIs have started changing the landscape of the Web considerably. We can surely expect more exciting introductions in future that will change the way we look into the Web, forever.

Is there something you want to know about HTML5 APIs? Feel free to contact us by clicking here.

Subha Sengupta

Lead Creative Designer

Subha is the man with the brush. He's the Lead Creative Designer with Code{UR}Idea and comes up with amazing designs & concepts for the brand.

Leave Comment

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