URL
The URL interface represent an object providing static methods used for creating object URLs.
The HTMLHyperlinkElementUtils.hash property returns a DOMString containing a '#' followed by the fragment identifier of the URL. The fragment is not percent-decoded.
The HTMLHyperlinkElementUtils.host property is a USVString containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':', and the port of the URL.
The HTMLHyperlinkElementUtils.hostname property is a USVString containing the domain of the URL.
The HTMLHyperlinkElementUtils.pathname property is a USVString containing an initial '/' followed by the path of the URL.
The HTMLHyperlinkElementUtils.port property is a USVString containing the port number of the URL.
The HTMLHyperlinkElementUtils.protocol property is a USVString representing the protocol scheme of the URL, including the final ':'.
The HTMLHyperlinkElementUtils.search property, is a search string, also called a query string, that is USVString containing a '?' followed by the parameters of the URL.
The HTMLHyperlinkElementUtils.username property is a USVString containing the username specified before the domain name.
The URLSearchParams interface defines utility methods to work with the query string of a URL.