HTML | DOM URL Property
The URL property in HTML is used to return a string which contains the complete URL of the current document. The string also includes the HTTP protocol such as ( http://).
Below program illustrates the document.URL property in HTML:
Supported Browsers: The browser supported by document.URL property are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.