Offline Capabilities with HTML5 and APIs Interview Questions – HTML5 Offline Capabilities and APIs Online Quiz

Question 1:  What is the main purpose of localStorage in HTML5?

Question 2:  Which of the following APIs is used to store data in the browser without needing a server?

Question 3:  What is the major limitation of AppCache in HTML5?

Question 4:  What does sessionStorage do in HTML5?

Question 5:  Which API helps in enabling push notifications in Progressive Web Apps (PWAs)?

Question 6:  What is the function of the Service Workers API?

Question 7:  Which API allows a web application to get the user's geographical location?

Question 8:  How does localStorage differ from sessionStorage?

Question 9:  What happens to the data in sessionStorage when the browser tab is closed?

Question 10:  What is the main benefit of using Web Workers in HTML5?

Leave a Reply