Interviewer And Interviewee Guide

HTML5 Interview Question:

Do you know What is the sessionStorage Object in html5? How to create and access?

Submitted by: Administrator
The sessionStorage object stores the data for one session. The data is deleted when the user closes the browser window. like below we can create and access a sessionStorage here we created “name” as session

<script type=“text/javascript”>
sessionStorage.name=“PHPZAG”;
document.write(sessionStorage.name);
</script>
Submitted by: Administrator

Read Online HTML5 Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.