HTML DOM document location Property
The Document location property returns a Location of the document, that contains information about the URL of the document. This is a read-only property. Syntax: loc = document.location; Return Value: This property returns the string URL location of the document. Example: In this example, we will le