AnchorElement

package js.html

extends ElementDOMElementNodeEventTarget

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:

Variables

charset:String

Is a DOMString representing the character encoding of the linked resource.

coords:String

Is a DOMString representing a comma-separated list of coordinates.

download:String

Is 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:String

host:String

hostname:String

href:String

hreflang:String

Is a DOMString that reflects the hreflang HTML attribute, indicating the language of the linked resource.

name:String

Is a DOMString representing the anchor name.

read onlyorigin:String

password:String

pathname:String

ping:String

port:String

protocol:String

referrerPolicy:String

Is a DOMString that reflects the referrerpolicy HTML attribute indicating which referrer to use.

rel:String

Is a DOMString that reflects the rel HTML attribute, specifying the relationship of the target object to the linked object.

read onlyrelList:DOMTokenList

Returns a DOMTokenList that reflects the rel HTML attribute, as a list of tokens.

rev:String

Is 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.

shape:String

Is a DOMString representing the shape of the active area.

target:String

Is a DOMString that reflects the target HTML attribute, indicating where to display the linked resource.

text:String

Is a DOMString being a synonym for the Node.textContent property.

type:String

Is 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