HyperlinkElementUtils
Inheritors
Properties
The hash property of the HTMLAnchorElement interface is a string containing a "#" followed by the fragment identifier of the element's href. If the URL does not have a fragment identifier, this property contains an empty string, "".
The hostname property of the HTMLAnchorElement interface is a string containing either the domain name or IP address of the element's href. If the URL does not have a hostname, this property contains an empty string, "". IPv4 and IPv6 addresses are normalized, such as stripping leading zeros, and domain names are converted to IDN.
The origin read-only property of the HTMLAnchorElement interface returns a string containing the Unicode serialization of the origin of the element's href.
The password property of the HTMLAnchorElement interface is a string containing the password component of the element's href. If the URL does not have a password, this property contains an empty string, "".
The port property of the HTMLAnchorElement interface is a string containing the port number of the element's href. If the port is the default for the protocol (80 for ws: and http:, 443 for wss: and https:, and 21 for ftp:), this property contains an empty string, "".
The search property of the HTMLAnchorElement interface is a search string, also called a query string, that is a string containing a "?" followed by the parameters of the element's href. If the URL does not have a search query, this property contains an empty string, "".
The username property of the HTMLAnchorElement interface is a string containing the username component of the element's href. If the URL does not have a username, this property contains an empty string, "".