English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
baseURIA read-only property that returns the basic URI of the HTML document.
document.baseURI
var url = document.baseURI;Test See‹/›
The numbers in the table specify the first browser version that fully supports the baseURI property:
Property | |||||
baseURI | 2 | 3 | 9.6 | 4 | Not Supported |
Return Value: | A string representing the URI of the current page |
---|---|
DOM Version: | DOM Level3 |