# class HTMLAnchorElement

###

Module | khtml
Namespace | DOM
Class | HTMLAnchorElement
Inherits | DOM::HTMLElement

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

### methods

- HTMLAnchorElement ( )

  returns ctor

- HTMLAnchorElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLAnchorElement |

- HTMLAnchorElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLAnchorElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLAnchorElementImpl |

- accessKey ( )

  returns DOM.DOMString

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

- blur ( )

  returns Nothing

  Removes keyboard focus from this element.

  Returns

- charset ( )

  returns DOM.DOMString

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

- coords ( )

  returns DOM.DOMString

  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.

- focus ( )

  returns Nothing

  Gives keyboard focus to this element.

  Returns

- href ( )

  returns DOM.DOMString

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

- hreflang ( )

  returns DOM.DOMString

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

- name ( )

  returns DOM.DOMString

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

- rel ( )

  returns DOM.DOMString

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

- rev ( )

  returns DOM.DOMString

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

- setAccessKey (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see accessKey

- setCharset (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see charset

- setCoords (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see coords

- setHref (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see href

- setHreflang (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see hreflang

- setName (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see name

- setRel (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see rel

- setRev (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see rev

- setShape (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see shape

- setTabIndex (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see tabIndex

- setTarget (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see target

- setType (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see type

- shape ( )

  returns DOM.DOMString

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

- tabIndex ( )

  returns long

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

- target ( )

  returns DOM.DOMString

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

- type ( )

  returns DOM.DOMString

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