Easy Tutorial
❮ Prop Table Caption Prop Style Transformorigin ❯

HTML DOM baseURI Property

Document Object

Example

Retrieve the base URI of the document:

document.baseURI;

Output result:


Definition and Usage

The baseURI property returns the base URI of the HTML document.


Browser Support

All major browsers except Internet Explorer support the baseURI property.


Syntax

Technical Details

Return Value: String, representing the URI of the node's document
DOM Version Core Level 3 Node Object
--- ---

Document Object

❮ Prop Table Caption Prop Style Transformorigin ❯