Reference Index > DOM HTML
HTMLAnchorElement
Interface Specification
from https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
interface HTMLAnchorElement
{
[CEReactions] attribute DOMString target;
[CEReactions] attribute DOMString download;
[CEReactions] attribute USVString ping;
[CEReactions] attribute DOMString rel;
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
[CEReactions] attribute DOMString hreflang;
[CEReactions] attribute DOMString type;
[CEReactions] attribute DOMString text;
[CEReactions] attribute DOMString referrerPolicy;
};
from https://html.spec.whatwg.org/multipage/links.html#api-for-a-and-area-elements
interface mixin HTMLHyperlinkElementUtils
{
[CEReactions] stringifier attribute USVString href;
readonly attribute USVString origin;
[CEReactions] attribute USVString protocol;
[CEReactions] attribute USVString username;
[CEReactions] attribute USVString password;
[CEReactions] attribute USVString host;
[CEReactions] attribute USVString hostname;
[CEReactions] attribute USVString port;
[CEReactions] attribute USVString pathname;
[CEReactions] attribute USVString search;
[CEReactions] attribute USVString hash;
};
from https://html.spec.whatwg.org/multipage/obsolete.html#other-elements,-attributes-and-apis
partial interface HTMLAnchorElement
{
[CEReactions] attribute DOMString coords;
[CEReactions] attribute DOMString charset;
[CEReactions] attribute DOMString name;
[CEReactions] attribute DOMString rev;
[CEReactions] attribute DOMString shape;
};
};
Implementation status
Number of constants in JS interface: none Number of attributes in JS interface: 25/25 Number of functions in JS interface: noneFunction Implementation status
Browser & Device compatibility
Device type Support Status Desktop PC browsers Yes
HBBTV 1.5 devices Yes
HBBTV 2.0.x devices Yes
Notes
none
This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021
. Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".