public interface

HTMLAnchorElement

implements HTMLElement
org.w3c.dom.html.HTMLAnchorElement

Class Overview

The anchor element. See the A element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract void blur()
Removes keyboard focus from this element.
abstract void focus()
Gives keyboard focus to this element.
abstract String getAccessKey()
A single character access key to give access to the form control.
abstract String getCharset()
The character encoding of the linked resource.
abstract String getCoords()
Comma-separated list of lengths, defining an active region geometry.
abstract String getHref()
The URI of the linked resource.
abstract String getHreflang()
Language code of the linked resource.
abstract String getName()
Anchor name.
abstract String getRel()
Forward link type.
abstract String getRev()
Reverse link type.
abstract String getShape()
The shape of the active area.
abstract int getTabIndex()
Index that represents the element's position in the tabbing order.
abstract String getTarget()
Frame to render the resource in.
abstract String getType()
Advisory content type.
abstract void setAccessKey(String accessKey)
abstract void setCharset(String charset)
abstract void setCoords(String coords)
abstract void setHref(String href)
abstract void setHreflang(String hreflang)
abstract void setName(String name)
abstract void setRel(String rel)
abstract void setRev(String rev)
abstract void setShape(String shape)
abstract void setTabIndex(int tabIndex)
abstract void setTarget(String target)
abstract void setType(String type)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract void blur ()

Removes keyboard focus from this element.

public abstract void focus ()

Gives keyboard focus to this element.

public abstract String getAccessKey ()

A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

public abstract String getCharset ()

The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

public abstract String getCoords ()

Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region. See the coords attribute definition in HTML 4.0.

public abstract String getHref ()

The URI of the linked resource. See the href attribute definition in HTML 4.0.

public abstract String getHreflang ()

Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.

public abstract String getName ()

Anchor name. See the name attribute definition in HTML 4.0.

public abstract String getRel ()

Forward link type. See the rel attribute definition in HTML 4.0.

public abstract String getRev ()

Reverse link type. See the rev attribute definition in HTML 4.0.

public abstract String getShape ()

The shape of the active area. The coordinates are given by coords . See the shape attribute definition in HTML 4.0.

public abstract int getTabIndex ()

Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

public abstract String getTarget ()

Frame to render the resource in. See the target attribute definition in HTML 4.0.

public abstract String getType ()

Advisory content type. See the type attribute definition in HTML 4.0.

public abstract void setAccessKey (String accessKey)

public abstract void setCharset (String charset)

public abstract void setCoords (String coords)

public abstract void setHref (String href)

public abstract void setHreflang (String hreflang)

public abstract void setName (String name)

public abstract void setRel (String rel)

public abstract void setRev (String rev)

public abstract void setShape (String shape)

public abstract void setTabIndex (int tabIndex)

public abstract void setTarget (String target)

public abstract void setType (String type)