The HTMLLinkElement interface represents reference information
external resources and the relationship of those resources to
document and vice-versa (corresponds to <link> element; not to
confused with <a>, which is represented by HTMLAnchorElement).
object inherits all of the properties and methods of the web.dom.HTMLElement
The HTMLLinkElement interface represents reference information external resources and the relationship of those resources to document and vice-versa (corresponds to <link> element; not to confused with <a>, which is represented by HTMLAnchorElement). object inherits all of the properties and methods of the `web.dom.HTMLElement`
(as this)
Property.
[Experimental]
The as property of the web.dom.HTMLLinkElement
interface returns
web.DOMString
representing the type of content being loaded
the HTML link, one of "script", "style", "image", "video",
"track", "font", "fetch".
var as = HTMLLinkElement.as HTMLLinkElement.as = as
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as
Property. [Experimental] The as property of the `web.dom.HTMLLinkElement` interface returns `web.DOMString` representing the type of content being loaded the HTML link, one of \"script\", \"style\", \"image\", \"video\", \"track\", \"font\", \"fetch\". `var as = HTMLLinkElement.as HTMLLinkElement.as = as` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as`
(charset this)
Property.
Is a DOMString representing the character encoding for the target
Property. Is a DOMString representing the character encoding for the target
(cross-origin this)
Property.
Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.
Property. Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.
(disabled this)
Property.
Is a Boolean which represents whether the link is disabled; currently used with style sheet links.
Property. Is a Boolean which represents whether the link is disabled; currently used with style sheet links.
(href this)
Property.
Is a DOMString representing the URI for the target resource.
Property. Is a DOMString representing the URI for the target resource.
(hreflang this)
Property.
Is a DOMString representing the language code for the linked
Property. Is a DOMString representing the language code for the linked
(media this)
Property.
Is a DOMString representing a list of one or more media formats which the resource applies.
Property. Is a DOMString representing a list of one or more media formats which the resource applies.
(referrer-policy this)
Property.
[Experimental]
The HTMLLinkElement.referrerPolicy property reflect the HTML
attribute of the <link>
element defining which referrer is
when fetching the resource.
DOMString HTMLLinkElement.referrerPolicy
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy
Property. [Experimental] The HTMLLinkElement.referrerPolicy property reflect the HTML attribute of the `<link>` element defining which referrer is when fetching the resource. `DOMString HTMLLinkElement.referrerPolicy` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy`
(rel this)
Property.
The HTMLLinkElement.rel property reflects the rel attribute.
is a web.DOMString
containing a space-separated list of link
indicating the relationship between the resource represented
the <link>
element and the current document.
var relstr = linkElt.rel; linkElt.rel = relstr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel
Property. The HTMLLinkElement.rel property reflects the rel attribute. is a `web.DOMString` containing a space-separated list of link indicating the relationship between the resource represented the `<link>` element and the current document. `var relstr = linkElt.rel; linkElt.rel = relstr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel`
(rel-list this)
Property.
[Read Only]
The HTMLLinkElement.relList read-only property reflects the rel
It is a live web.DOMTokenList
containing the set of link types
the relationship between the resource represented by the <link>
and the current document.
var relstr = linkElt.relList;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList
Property. [Read Only] The HTMLLinkElement.relList read-only property reflects the rel It is a live `web.DOMTokenList` containing the set of link types the relationship between the resource represented by the `<link>` and the current document. `var relstr = linkElt.relList;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/relList`
(rev this)
Property.
Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.
Property. Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.
(set-as! this val)
Property.
[Experimental]
The as property of the web.dom.HTMLLinkElement
interface returns
web.DOMString
representing the type of content being loaded
the HTML link, one of "script", "style", "image", "video",
"track", "font", "fetch".
var as = HTMLLinkElement.as HTMLLinkElement.as = as
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as
Property. [Experimental] The as property of the `web.dom.HTMLLinkElement` interface returns `web.DOMString` representing the type of content being loaded the HTML link, one of \"script\", \"style\", \"image\", \"video\", \"track\", \"font\", \"fetch\". `var as = HTMLLinkElement.as HTMLLinkElement.as = as` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/as`
(set-charset! this val)
Property.
Is a DOMString representing the character encoding for the target
Property. Is a DOMString representing the character encoding for the target
(set-cross-origin! this val)
Property.
Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.
Property. Is a DOMString that corresponds to the CORS setting for this element. See CORS settings attributes for details.
(set-disabled! this val)
Property.
Is a Boolean which represents whether the link is disabled; currently used with style sheet links.
Property. Is a Boolean which represents whether the link is disabled; currently used with style sheet links.
(set-href! this val)
Property.
Is a DOMString representing the URI for the target resource.
Property. Is a DOMString representing the URI for the target resource.
(set-hreflang! this val)
Property.
Is a DOMString representing the language code for the linked
Property. Is a DOMString representing the language code for the linked
(set-media! this val)
Property.
Is a DOMString representing a list of one or more media formats which the resource applies.
Property. Is a DOMString representing a list of one or more media formats which the resource applies.
(set-referrer-policy! this val)
Property.
[Experimental]
The HTMLLinkElement.referrerPolicy property reflect the HTML
attribute of the <link>
element defining which referrer is
when fetching the resource.
DOMString HTMLLinkElement.referrerPolicy
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy
Property. [Experimental] The HTMLLinkElement.referrerPolicy property reflect the HTML attribute of the `<link>` element defining which referrer is when fetching the resource. `DOMString HTMLLinkElement.referrerPolicy` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/referrerPolicy`
(set-rel! this val)
Property.
The HTMLLinkElement.rel property reflects the rel attribute.
is a web.DOMString
containing a space-separated list of link
indicating the relationship between the resource represented
the <link>
element and the current document.
var relstr = linkElt.rel; linkElt.rel = relstr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel
Property. The HTMLLinkElement.rel property reflects the rel attribute. is a `web.DOMString` containing a space-separated list of link indicating the relationship between the resource represented the `<link>` element and the current document. `var relstr = linkElt.rel; linkElt.rel = relstr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement/rel`
(set-rev! this val)
Property.
Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.
Property. Is a DOMString representing the reverse relationship of the linked from the resource to the document. Note: Currently the W3C HTML 5.2 spec states that rev is no obsolete, whereas the WHATWG living standard still has it labeled Until this discrepancy is resolved, you should still assume it obsolete.
(set-sheet! this val)
Property.
Returns the StyleSheet object associated with the given element, null if there is none.
Property. Returns the StyleSheet object associated with the given element, null if there is none.
(set-sizes! this val)
Property.
Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.
Property. Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.
(set-target! this val)
Property.
Is a DOMString representing the name of the target frame to which resource applies.
Property. Is a DOMString representing the name of the target frame to which resource applies.
(set-type! this val)
Property.
Is a DOMString representing the MIME type of the linked resource.
Property. Is a DOMString representing the MIME type of the linked resource.
(sheet this)
Property.
Returns the StyleSheet object associated with the given element, null if there is none.
Property. Returns the StyleSheet object associated with the given element, null if there is none.
(sizes this)
Property.
Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.
Property. Is a DOMSettableTokenList that reflects the sizes HTML attribute, a list of tokens.
(target this)
Property.
Is a DOMString representing the name of the target frame to which resource applies.
Property. Is a DOMString representing the name of the target frame to which resource applies.
(type this)
Property.
Is a DOMString representing the MIME type of the linked resource.
Property. Is a DOMString representing the MIME type of the linked resource.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close