The URL() constructor returns a newly created URL object representing the URL defined by the parameters.
- Companion:
- object
Value members
Concrete methods
Inherited methods
Concrete fields
Is a DOMString containing a '#' followed by the fragment identifier of the URL.
Is a DOMString containing a '#' followed by the fragment identifier of the URL.
Is a DOMString containing the host, that is the hostname, a ':', and the port of the URL.
Is a DOMString containing the host, that is the hostname, a ':', and the port of the URL.
Is a DOMString containing the password specified before the domain name.
Is a DOMString containing the password specified before the domain name.
Is a DOMString containing an initial '/' followed by the path of the URL.
Is a DOMString containing an initial '/' followed by the path of the URL.
Is a DOMString containing the port number of the URL.
Is a DOMString containing the port number of the URL.
Is a DOMString containing the protocol scheme of the URL, including the final ':'.
Is a DOMString containing the protocol scheme of the URL, including the final ':'.
Is a DOMString containing a '?' followed by the parameters of the URL.
Is a DOMString containing a '?' followed by the parameters of the URL.