HTML DOM Document baseURI property
- Previous Page applets
- Next Page body
- Go to the Previous Level HTML DOM Documents
Definition and usage
baseURI
The property returns the document's base URI.
baseURI
The property is read-only.
Syntax
document.baseURI
Return value
Type | Description |
---|---|
String | Document's base URI. |
Browser support
document.baseURI
It is a DOM Level 4 (2015) feature.
All modern browsers support it:
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Supported | Supported | Supported | Supported | Supported |
Internet Explorer 11 (or earlier versions) does not support document.baseURI
.
- Previous Page applets
- Next Page body
- Go to the Previous Level HTML DOM Documents