<html>
<body onpageshow="myFunction()">
<h1>Hello World!</h1>
<script>
function myFunction() {
alert("Welcome!");
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml5_ev_onpageshow by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:09:26 GMT -->
</html>