Code
Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy onpageshow attribute</title> </head> <body onpageshow="onPageShow()"> <h1>Wikitechy HTML onpageshow Attribute </h1> <script> function onPageShow() { alert("Welcome To Wikitechy!"); } </script> </body> </html>
Result