HTML DOM baseURI property
Examples
Get the base URI of the document:
document.baseURI;
Output:
http://www.w3cschool.cc/jsref/prop-doc-baseuri.html
try it"
Definition and Usage
baseURI property returns the base URI HTML document.
Browser Support
In addition to IE browser, the other major browsers support baseURI property.
grammar
node .baseURI
technical details
return value: | URI string representing the node of the page |
---|---|
DOM version | Core Level 3 Node Object |