package js.html
extends Element › DOMElement › Node › EventTarget
Available on jsThe
HTMLAnchorElementinterface represents hyperlink elements and provides special properties and methods (beyond those of the regularHTMLElementobject interface they also have available to them by inheritance) for manipulating the layout and presentation of such elements.Documentation HTMLAnchorElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
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. The value is a URL with a scheme like http:, file:, data: or even blob: (created with URL.createObjectURL).
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 only origin:Stringpassword:Stringpathname:Stringping:Stringport:Stringprotocol:Stringrel:StringIs a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the linked object.
read only relList: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.
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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/AnchorElement.html