package js.html
extends Element › DOMElement › Node › EventTarget
Available on js
The HTMLAnchorElement interface represents hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements.
Documentation HTMLAnchorElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
charset:StringIs a DOMString representing the character encoding of the linked resource.
coords:StringIs a DOMString representing a comma-separated list of coordinates.
download:StringIs a DOMString indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.
hash:Stringhost:Stringhostname:Stringhref:Stringhreflang:StringIs a DOMString that reflects the hreflang HTML attribute, indicating the language of the linked resource.
name:StringIs a DOMString representing the anchor name.
read onlyorigin:Stringpassword:Stringpathname:Stringping:Stringport:Stringprotocol:StringreferrerPolicy:StringIs a DOMString that reflects the referrerpolicy HTML attribute indicating which referrer to use.
rel:StringIs a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the linked object.
read onlyrelList:DOMTokenListReturns a DOMTokenList that reflects the rel HTML attribute, as a list of tokens.
rev:StringIs a DOMString representing that the rev HTML attribute, specifying the relationship of the link object to the target object. Note: Currently the W3C HTML 5.2 spec states that rev is no longer obsolete, whereas the WHATWG living standard still has it labeled obsolete. Until this discrepancy is resolved, you should still assume it is obsolete.
search:Stringshape:StringIs a DOMString representing the shape of the active area.
target:StringIs a DOMString that reflects the target HTML attribute, indicating where to display the linked resource.
text:StringIs a DOMString being a synonym for the Node.textContent property.
type:StringIs a DOMString that reflects the type HTML attribute, indicating the MIME type of the linked resource.
username:String
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/AnchorElement.html