HTMLAnchorElement

Overview

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. This interface corresponds to <a> element; not to be confused with <link>, which is represented by HTMLLinkElement)

Location

 

blur

Removes the keyboard focus from the current element.

 

method blur

 

void blur()

 

func blur()

 

void blur()

 

Sub blur()

hash

 

property hash: String read write;

 

String hash { get; set; }

 

var hash: String { get{} set{} }

 

String hash { __get; __set; }

 

Property hash() As String

host

 

property host: String read write;

 

String host { get; set; }

 

var host: String { get{} set{} }

 

String host { __get; __set; }

 

Property host() As String

hostname

 

property hostname: String read write;

 

String hostname { get; set; }

 

var hostname: String { get{} set{} }

 

String hostname { __get; __set; }

 

Property hostname() As String

href

 

property href: String read write;

 

String href { get; set; }

 

var href: String { get{} set{} }

 

String href { __get; __set; }

 

Property href() As String

hreflang

 

property hreflang: String read write;

 

String hreflang { get; set; }

 

var hreflang: String { get{} set{} }

 

String hreflang { __get; __set; }

 

Property hreflang() As String

media

 

property media: dynamic read write;

 

dynamic media { get; set; }

 

var media: dynamic { get{} set{} }

 

dynamic media { __get; __set; }

 

Property media() As dynamic

origin

 

property origin: String read;

 

String origin { get; }

 

var origin: String { get{} }

 

String origin { __get; }

 

ReadOnly Property origin() As String

password

 

property password: String read write;

 

String password { get; set; }

 

var password: String { get{} set{} }

 

String password { __get; __set; }

 

Property password() As String

pathname

 

property pathname: String read write;

 

String pathname { get; set; }

 

var pathname: String { get{} set{} }

 

String pathname { __get; __set; }

 

Property pathname() As String

port

 

property port: String read write;

 

String port { get; set; }

 

var port: String { get{} set{} }

 

String port { __get; __set; }

 

Property port() As String

protocol

 

property protocol: String read write;

 

String protocol { get; set; }

 

var protocol: String { get{} set{} }

 

String protocol { __get; __set; }

 

Property protocol() As String

rel

 

property rel: String read write;

 

String rel { get; set; }

 

var rel: String { get{} set{} }

 

String rel { __get; __set; }

 

Property rel() As String

relList

 

property relList: DOMTokenList read;

 

DOMTokenList relList { get; }

 

var relList: DOMTokenList { get{} }

 

DOMTokenList relList { __get; }

 

ReadOnly Property relList() As DOMTokenList

search

 

property search: String read write;

 

String search { get; set; }

 

var search: String { get{} set{} }

 

String search { __get; __set; }

 

Property search() As String

target

 

property target: String read write;

 

String target { get; set; }

 

var target: String { get{} set{} }

 

String target { __get; __set; }

 

Property target() As String

text

 

property text: String read write;

 

String text { get; set; }

 

var text: String { get{} set{} }

 

String text { __get; __set; }

 

Property text() As String

toString

Returns a USVString containing the whole URL. It is a synonym for HTMLHyperlinkElementUtils.href, though it can't be used to modify the value.

 

method toString: String

 

String toString()

 

func toString() -> String

 

String toString()

 

Function toString() As String

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

username

 

property username: String read write;

 

String username { get; set; }

 

var username: String { get{} set{} }

 

String username { __get; __set; }

 

Property username() As String

 

hash

 

property hash: String read write;

 

String hash { get; set; }

 

var hash: String { get{} set{} }

 

String hash { __get; __set; }

 

Property hash() As String

host

 

property host: String read write;

 

String host { get; set; }

 

var host: String { get{} set{} }

 

String host { __get; __set; }

 

Property host() As String

hostname

 

property hostname: String read write;

 

String hostname { get; set; }

 

var hostname: String { get{} set{} }

 

String hostname { __get; __set; }

 

Property hostname() As String

href

 

property href: String read write;

 

String href { get; set; }

 

var href: String { get{} set{} }

 

String href { __get; __set; }

 

Property href() As String

hreflang

 

property hreflang: String read write;

 

String hreflang { get; set; }

 

var hreflang: String { get{} set{} }

 

String hreflang { __get; __set; }

 

Property hreflang() As String

media

 

property media: dynamic read write;

 

dynamic media { get; set; }

 

var media: dynamic { get{} set{} }

 

dynamic media { __get; __set; }

 

Property media() As dynamic

origin

 

property origin: String read;

 

String origin { get; }

 

var origin: String { get{} }

 

String origin { __get; }

 

ReadOnly Property origin() As String

password

 

property password: String read write;

 

String password { get; set; }

 

var password: String { get{} set{} }

 

String password { __get; __set; }

 

Property password() As String

pathname

 

property pathname: String read write;

 

String pathname { get; set; }

 

var pathname: String { get{} set{} }

 

String pathname { __get; __set; }

 

Property pathname() As String

port

 

property port: String read write;

 

String port { get; set; }

 

var port: String { get{} set{} }

 

String port { __get; __set; }

 

Property port() As String

protocol

 

property protocol: String read write;

 

String protocol { get; set; }

 

var protocol: String { get{} set{} }

 

String protocol { __get; __set; }

 

Property protocol() As String

rel

 

property rel: String read write;

 

String rel { get; set; }

 

var rel: String { get{} set{} }

 

String rel { __get; __set; }

 

Property rel() As String

relList

 

property relList: DOMTokenList read;

 

DOMTokenList relList { get; }

 

var relList: DOMTokenList { get{} }

 

DOMTokenList relList { __get; }

 

ReadOnly Property relList() As DOMTokenList

search

 

property search: String read write;

 

String search { get; set; }

 

var search: String { get{} set{} }

 

String search { __get; __set; }

 

Property search() As String

target

 

property target: String read write;

 

String target { get; set; }

 

var target: String { get{} set{} }

 

String target { __get; __set; }

 

Property target() As String

text

 

property text: String read write;

 

String text { get; set; }

 

var text: String { get{} set{} }

 

String text { __get; __set; }

 

Property text() As String

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

username

 

property username: String read write;

 

String username { get; set; }

 

var username: String { get{} set{} }

 

String username { __get; __set; }

 

Property username() As String

 

blur

Removes the keyboard focus from the current element.

 

method blur

 

void blur()

 

func blur()

 

void blur()

 

Sub blur()

toString

Returns a USVString containing the whole URL. It is a synonym for HTMLHyperlinkElementUtils.href, though it can't be used to modify the value.

 

method toString: String

 

String toString()

 

func toString() -> String

 

String toString()

 

Function toString() As String