HTML DOM baseURI Property (original) (raw)

Last Updated : 11 Jul, 2025

The **DOM baseURI property is used to return the base Uniform Resource Identifier (URI) of the document. This property is used for read-only. This property returns a string value that represents the base URI of the page.

**Syntax:

node.baseURI

**Return Value: It returns a string value that represents the URL of the node's page.

**Example: In this example, we will use the **DOM baseURI property.

HTML `

baseURI property

GeeksforGeeks

DOM baseURI Property

Submit

`

**Output:

HTML DOM baseURI Property

HTML DOM baseURI Property

**Supported Browsers: The browser supported by _DOM baseURI Property are listed below: