The HTMLAnchorElement interface represents hyperlink elements
provides special properties and methods (beyond those of the
html.HTMLElement
object interface that they inherit from) for
the layout and presentation of such elements.
The HTMLAnchorElement interface represents hyperlink elements provides special properties and methods (beyond those of the `html.HTMLElement` object interface that they inherit from) for the layout and presentation of such elements.
(blur this)
Method.
The HTMLElement.blur() method removes keyboard focus from the element.
element.blur();
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur
Method. The HTMLElement.blur() method removes keyboard focus from the element. `element.blur();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur`
(download this)
Property.
The HTMLAnchorElement.download property is a dom.DOMString
that the linked resource is intended to be downloaded rather
displayed in the browser. The value, if any, specifies the default
name for use in labeling the resource in a local file system.
the name is not a valid file name in the underlying OS, the browser
adjust it.
var dnload = anchorElt.download; anchorElt.download = dnload;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download
Property. The HTMLAnchorElement.download property is a `dom.DOMString` that the linked resource is intended to be downloaded rather displayed in the browser. The value, if any, specifies the default name for use in labeling the resource in a local file system. the name is not a valid file name in the underlying OS, the browser adjust it. `var dnload = anchorElt.download; anchorElt.download = dnload;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download`
(focus this options)
Method.
The HTMLElement.focus() method sets focus on the specified element, it can be focused. The focused element is the element which will keyboard and similar events by default.
element.focus(options); // Object parameter
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus
Method. The HTMLElement.focus() method sets focus on the specified element, it can be focused. The focused element is the element which will keyboard and similar events by default. `element.focus(options); // Object parameter` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus`
(hash this)
Property.
The HTMLHyperlinkElementUtils.hash property returns a dom.DOMString
a '#' followed by the fragment identifier of the URL.
string = object.hash;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash
Property. The HTMLHyperlinkElementUtils.hash property returns a `dom.DOMString` a '#' followed by the fragment identifier of the URL. `string = object.hash;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash`
(host this)
Property.
The HTMLHyperlinkElementUtils.host property is a web.USVString
the host, that is the hostname, and then, if the port of the
is nonempty, a ':', and the port of the URL.
string = object.host; object.host = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/host
Property. The HTMLHyperlinkElementUtils.host property is a `web.USVString` the host, that is the hostname, and then, if the port of the is nonempty, a ':', and the port of the URL. `string = object.host; object.host = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/host`
(hostname this)
Property.
The HTMLHyperlinkElementUtils.hostname property is a web.USVString
the domain of the URL.
string = object.hostname; object.hostname = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname
Property. The HTMLHyperlinkElementUtils.hostname property is a `web.USVString` the domain of the URL. `string = object.hostname; object.hostname = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname`
(href this)
Property.
The HTMLHyperlinkElementUtils.href property is a web.USVString
the whole URL.
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/href
Property. The HTMLHyperlinkElementUtils.href property is a `web.USVString` the whole URL. See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/href`
(origin this)
Property.
The HTMLHyperlinkElementUtils.origin read-only property is a containing the Unicode serialization of the origin of the represented
string = object.origin;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/origin
Property. The HTMLHyperlinkElementUtils.origin read-only property is a containing the Unicode serialization of the origin of the represented `string = object.origin;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/origin`
(password this)
Property.
The HTMLHyperlinkElementUtils.password property is a web.USVString
the password specified before the domain name.
string = object.password; object.password = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password
Property. The HTMLHyperlinkElementUtils.password property is a `web.USVString` the password specified before the domain name. `string = object.password; object.password = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password`
(pathname this)
Property.
The HTMLHyperlinkElementUtils.pathname property is a web.USVString
an initial '/' followed by the path of the URL (or the empty
if there is no path).
string = object.pathname; object.pathname = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname
Property. The HTMLHyperlinkElementUtils.pathname property is a `web.USVString` an initial '/' followed by the path of the URL (or the empty if there is no path). `string = object.pathname; object.pathname = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname`
(port this)
Property.
The HTMLHyperlinkElementUtils.port property is a web.USVString
the port number of the URL. If the URL does not contain an explicit
number, it will be set to ''.
string = object.port; object.port = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/port
Property. The HTMLHyperlinkElementUtils.port property is a `web.USVString` the port number of the URL. If the URL does not contain an explicit number, it will be set to ''. `string = object.port; object.port = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/port`
(protocol this)
Property.
The HTMLHyperlinkElementUtils.protocol property is a web.USVString
the protocol scheme of the URL, including the final ':'.
string = object.protocol; object.protocol = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol
Property. The HTMLHyperlinkElementUtils.protocol property is a `web.USVString` the protocol scheme of the URL, including the final ':'. `string = object.protocol; object.protocol = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol`
(referrer-policy this)
Property.
The HTMLAnchorElement.referrerPolicy property reflect the HTML
attribute of the web.<a>
element defining which referrer is
when fetching the resource.
refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy
Property. The HTMLAnchorElement.referrerPolicy property reflect the HTML attribute of the `web.<a>` element defining which referrer is when fetching the resource. `refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy`
(rel this)
Property.
The HTMLAnchorElement.rel property reflects the rel attribute.
is a dom.DOMString
containing a space-separated list of link
indicating the relationship between the resource represented
the web.<a>
element and the current document.
var relstr = anchorElt.rel; anchorElt.rel = relstr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel
Property. The HTMLAnchorElement.rel property reflects the rel attribute. is a `dom.DOMString` containing a space-separated list of link indicating the relationship between the resource represented the `web.<a>` element and the current document. `var relstr = anchorElt.rel; anchorElt.rel = relstr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel`
(rel-list this)
Property.
The HTMLAnchorElement.relList read-only property reflects the
attribute. It is a live dom.DOMTokenList
containing the set
link types indicating the relationship between the resource represented
the web.<a>
element and the current document.
var relstr = anchorElt.relList;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList
Property. The HTMLAnchorElement.relList read-only property reflects the attribute. It is a live `dom.DOMTokenList` containing the set link types indicating the relationship between the resource represented the `web.<a>` element and the current document. `var relstr = anchorElt.relList;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList`
(search this)
Property.
The HTMLHyperlinkElementUtils.search property is a search string,
called a query string, that is web.USVString
containing a '?'
by the parameters of the URL.
string = object.search; object.search = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search
Property. The HTMLHyperlinkElementUtils.search property is a search string, called a query string, that is `web.USVString` containing a '?' by the parameters of the URL. `string = object.search; object.search = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search`
(set-download! this val)
Property.
The HTMLAnchorElement.download property is a dom.DOMString
that the linked resource is intended to be downloaded rather
displayed in the browser. The value, if any, specifies the default
name for use in labeling the resource in a local file system.
the name is not a valid file name in the underlying OS, the browser
adjust it.
var dnload = anchorElt.download; anchorElt.download = dnload;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download
Property. The HTMLAnchorElement.download property is a `dom.DOMString` that the linked resource is intended to be downloaded rather displayed in the browser. The value, if any, specifies the default name for use in labeling the resource in a local file system. the name is not a valid file name in the underlying OS, the browser adjust it. `var dnload = anchorElt.download; anchorElt.download = dnload;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download`
(set-hash! this val)
Property.
The HTMLHyperlinkElementUtils.hash property returns a dom.DOMString
a '#' followed by the fragment identifier of the URL.
string = object.hash;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash
Property. The HTMLHyperlinkElementUtils.hash property returns a `dom.DOMString` a '#' followed by the fragment identifier of the URL. `string = object.hash;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash`
(set-host! this val)
Property.
The HTMLHyperlinkElementUtils.host property is a web.USVString
the host, that is the hostname, and then, if the port of the
is nonempty, a ':', and the port of the URL.
string = object.host; object.host = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/host
Property. The HTMLHyperlinkElementUtils.host property is a `web.USVString` the host, that is the hostname, and then, if the port of the is nonempty, a ':', and the port of the URL. `string = object.host; object.host = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/host`
(set-hostname! this val)
Property.
The HTMLHyperlinkElementUtils.hostname property is a web.USVString
the domain of the URL.
string = object.hostname; object.hostname = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname
Property. The HTMLHyperlinkElementUtils.hostname property is a `web.USVString` the domain of the URL. `string = object.hostname; object.hostname = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname`
(set-href! this val)
Property.
The HTMLHyperlinkElementUtils.href property is a web.USVString
the whole URL.
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/href
Property. The HTMLHyperlinkElementUtils.href property is a `web.USVString` the whole URL. See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/href`
(set-pathname! this val)
Property.
The HTMLHyperlinkElementUtils.pathname property is a web.USVString
an initial '/' followed by the path of the URL (or the empty
if there is no path).
string = object.pathname; object.pathname = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname
Property. The HTMLHyperlinkElementUtils.pathname property is a `web.USVString` an initial '/' followed by the path of the URL (or the empty if there is no path). `string = object.pathname; object.pathname = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname`
(set-port! this val)
Property.
The HTMLHyperlinkElementUtils.port property is a web.USVString
the port number of the URL. If the URL does not contain an explicit
number, it will be set to ''.
string = object.port; object.port = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/port
Property. The HTMLHyperlinkElementUtils.port property is a `web.USVString` the port number of the URL. If the URL does not contain an explicit number, it will be set to ''. `string = object.port; object.port = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/port`
(set-protocol! this val)
Property.
The HTMLHyperlinkElementUtils.protocol property is a web.USVString
the protocol scheme of the URL, including the final ':'.
string = object.protocol; object.protocol = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol
Property. The HTMLHyperlinkElementUtils.protocol property is a `web.USVString` the protocol scheme of the URL, including the final ':'. `string = object.protocol; object.protocol = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol`
(set-referrer-policy! this val)
Property.
The HTMLAnchorElement.referrerPolicy property reflect the HTML
attribute of the web.<a>
element defining which referrer is
when fetching the resource.
refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy
Property. The HTMLAnchorElement.referrerPolicy property reflect the HTML attribute of the `web.<a>` element defining which referrer is when fetching the resource. `refStr = anchorElt.referrerPolicy; anchorElt.referrerPolicy = refStr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy`
(set-rel! this val)
Property.
The HTMLAnchorElement.rel property reflects the rel attribute.
is a dom.DOMString
containing a space-separated list of link
indicating the relationship between the resource represented
the web.<a>
element and the current document.
var relstr = anchorElt.rel; anchorElt.rel = relstr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel
Property. The HTMLAnchorElement.rel property reflects the rel attribute. is a `dom.DOMString` containing a space-separated list of link indicating the relationship between the resource represented the `web.<a>` element and the current document. `var relstr = anchorElt.rel; anchorElt.rel = relstr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel`
(set-rel-list! this val)
Property.
The HTMLAnchorElement.relList read-only property reflects the
attribute. It is a live dom.DOMTokenList
containing the set
link types indicating the relationship between the resource represented
the web.<a>
element and the current document.
var relstr = anchorElt.relList;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList
Property. The HTMLAnchorElement.relList read-only property reflects the attribute. It is a live `dom.DOMTokenList` containing the set link types indicating the relationship between the resource represented the `web.<a>` element and the current document. `var relstr = anchorElt.relList;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList`
(set-search! this val)
Property.
The HTMLHyperlinkElementUtils.search property is a search string,
called a query string, that is web.USVString
containing a '?'
by the parameters of the URL.
string = object.search; object.search = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search
Property. The HTMLHyperlinkElementUtils.search property is a search string, called a query string, that is `web.USVString` containing a '?' by the parameters of the URL. `string = object.search; object.search = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search`
(set-username! this val)
Property.
The HTMLHyperlinkElementUtils.username property is a web.USVString
the username specified before the domain name.
string = object.username; object.username = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username
Property. The HTMLHyperlinkElementUtils.username property is a `web.USVString` the username specified before the domain name. `string = object.username; object.username = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username`
(to-string this)
Method.
The HTMLHyperlinkElementUtils.toString() stringifier method returns
web.USVString
containing the whole URL. It is a read-only version
html.HTMLHyperlinkElementUtils.href
.
string = object.toString();
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/toString
Method. The HTMLHyperlinkElementUtils.toString() stringifier method returns `web.USVString` containing the whole URL. It is a read-only version `html.HTMLHyperlinkElementUtils.href`. `string = object.toString();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/toString`
(username this)
Property.
The HTMLHyperlinkElementUtils.username property is a web.USVString
the username specified before the domain name.
string = object.username; object.username = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username
Property. The HTMLHyperlinkElementUtils.username property is a `web.USVString` the username specified before the domain name. `string = object.username; object.username = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close