HTML DOM Document baseURI
Description
The baseURI
property returns the base URI of the document.
The baseURI
property is read-only.
Syntax
document.baseURI
Return Value
Type | Description |
String | The Base URI of the document. |
Browser Support
document.baseURI
is a DOM Level 4 (2015) feature.
It is supported in all modern browsers:
Chrome | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes |
document.baseURI
is not supported in Internet Explorer 11 (or earlier).