HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML onpageshow Attribute

HTML onpageshow Attribute



The onpageshow event occurs when a user navigates to a webpage. It is similar to onload event. However, it occurs after onload event. It occurs every time the page is loaded whereas onload event does not occur when the page is loaded from the cache.


Used With:-


Elements Event
body onpageshow




Its syntax is:- < element onpageshow="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML