a MUST HAVE HTML5 Interview Questions and Answers – Part 2

By | September 30, 2014

It’s continuation of my previous post on HTML5 Interview Questions with detailed answers. In previous post we started to set a base knowledge for latest HTML standard i.e HTML5. Later discussing about HTML5 new elements and more details about Graphics related concepts including SVG and Canvas.

I’ll recommend to read the following posts on HTML5 Interview Questions:

Questions are moved to other Parts as mentioned above.

Here we will continue exploring more HTML5 concepts with the help of Interview Questions.

HTML5 Interview Questions List – Part 2

What is localStorage in HTML5?

In order to store data locally, HTML5 supports for localStorage object. It stores data for a longer time in a client browser but it doesn’t lost data even if browser is closed. This purpose was achieved previously with the help of Cookies.

localStorage has following advantages as compared to using Cookies:

  • localStorage has better performance even for larger amount of data.
  • localStorage can store data for longer period.
  • localStorage is more secure as compared to cookies.

Back to top

What about browser support for localStorage in HTML5?

Browser support for localStorage in HTML5 is as follows:

  • Chrome 4
  • IE 8+
  • firefox 3.5+
  • Safari 4
  • Opera 10.5

Back to top

Free Online Test

<<< Previous: HTML5 Interview Questions – Part 1

Other Related Articles:

Top 10 Interview Questions and Answers Series:

Category: HTML 5 Interview Questions Tags: ,

About Web Development

Imran Abdul Ghani is working as Software Developer(Senior) with extensive knowledge in Web development technologies especially C#, ASP.NET, MVC, WCF, Web API, ADO.NET Entity Framework, jQuery etc. He has several years of experience in designing/developing enterprise level applications. He is Microsoft Certified Solution Developer for .NET (MCSD.NET) since 2005. You can reach his blogging at www.webdevelopmenthelp.net, www.topwcftutorials.net, and www.sharepointfordummies.net.