HTML DOM referrer Property
The DOM referrer property in HTML is used to return the URI of the page that linked to the current page. If the user navigates to the page directly or through a bookmark, then this value is an empty string. Syntax: document.referrer The below program illustrates the referrer property in HTML: Exampl