Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<body>
<div id="test"></div>
<script>
if (typeof(Storage) !== "undefined") {
localStorage.setItem("lang", "javascript");
document.getElementById("test").innerHTML = localStorage.getItem("lang");
} else {
document.getElementById("test").innerHTML = "Your browser does not support Web Storage...";
}
</script>
</body>
</html> 
The most helpful HTML solutions
how to create the moving picture left and right in html ?HTML Click to see more ... 1.2K 97