HTML DOM baseURI Property


The DOM baseURI property gives you the main web address (URI) of a document. It's used only for reading and provides a string with the basic web address of the page.

Syntax: 

node.baseURI

Return Value: It gives you a text that shows the web address of the node's page.

Example:In this instance, we'll work with the DOM baseURI property.