HTML DOM Document referrer
HTML DOM Document referrer Property
The referrer property is used to return URL of the document that loaded the current document. It is read-only property.
Syntax:-
Its syntax is:- document.referrer
Return:-
Its return is:- string having URL of the document that loaded the current document