Easy Tutorial
❮ Event Ondblclick Prop Week Disabled ❯

HTML DOM documentURI Property

Document Object

Example

Get the local URI of the document:

Output result:


Definition and Usage

The documentURI property sets or returns the location of the document.

If the document is created by a DocumentImplementation object, or if it is undefined, it returns null.


Browser Support

All browsers support the documentURI property except Internet Explorer.


Syntax

Set the documentURI of the document:

Return the documentURI:

Technical Details

Return Value: String, representing the URI of the document.
DOM Version Core Level 3 Document Object
--- ---
❮ Event Ondblclick Prop Week Disabled ❯