Interface HTMLAnchorElement

All Superinterfaces:
Element, EventTarget, HTMLElement, HTMLHyperlinkElementUtils, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode
All Known Implementing Classes:
HTMLAnchorElementImpl

public interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils
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.
  • Method Details

    • getCharset

      @Deprecated String getCharset()
      Deprecated.
      Sets or retrieves the character set used to encode the object.
      Returns:
      a String object.
    • setCharset

      @Deprecated void setCharset(String charset)
      Deprecated.

      setCharset.

      Parameters:
      charset - a String object.
    • getCoords

      @Deprecated String getCoords()
      Deprecated.
      Sets or retrieves the coordinates of the object.
      Returns:
      a String object.
    • setCoords

      @Deprecated void setCoords(String coords)
      Deprecated.

      setCoords.

      Parameters:
      coords - a String object.
    • getDownload

      String getDownload()

      getDownload.

      Returns:
      a String object.
    • setDownload

      void setDownload(String download)

      setDownload.

      Parameters:
      download - a String object.
    • getHreflang

      String getHreflang()
      Sets or retrieves the language code of the object.
      Returns:
      a String object.
    • setHreflang

      void setHreflang(String hreflang)

      setHreflang.

      Parameters:
      hreflang - a String object.
    • getName

      @Deprecated String getName()
      Deprecated.
      Sets or retrieves the shape of the object.
      Returns:
      a String object.
    • setName

      @Deprecated void setName(String name)
      Deprecated.

      setName.

      Parameters:
      name - a String object.
    • getPing

      String getPing()

      getPing.

      Returns:
      a String object.
    • setPing

      void setPing(String ping)

      setPing.

      Parameters:
      ping - a String object.
    • getReferrerPolicy

      String getReferrerPolicy()

      getReferrerPolicy.

      Returns:
      a String object.
    • setReferrerPolicy

      void setReferrerPolicy(String referrerPolicy)

      setReferrerPolicy.

      Parameters:
      referrerPolicy - a String object.
    • getRel

      String getRel()
      Sets or retrieves the relationship between the object and the destination of the link.
      Returns:
      a String object.
    • setRel

      void setRel(String rel)

      setRel.

      Parameters:
      rel - a String object.
    • getRelList

      DOMTokenList getRelList()

      getRelList.

      Returns:
      a DOMTokenList object.
    • getRev

      Deprecated.
      Sets or retrieves the relationship between the object and the destination of the link.
      Returns:
      a String object.
    • setRev

      @Deprecated void setRev(String rev)
      Deprecated.

      setRev.

      Parameters:
      rev - a String object.
    • getShape

      @Deprecated String getShape()
      Deprecated.
      Sets or retrieves the shape of the object.
      Returns:
      a String object.
    • setShape

      @Deprecated void setShape(String shape)
      Deprecated.

      setShape.

      Parameters:
      shape - a String object.
    • getTarget

      String getTarget()
      Sets or retrieves the window or frame at which to target content.
      Returns:
      a String object.
    • setTarget

      void setTarget(String target)

      setTarget.

      Parameters:
      target - a String object.
    • getText

      String getText()
      Retrieves or sets the text of the object as a string.
      Returns:
      a String object.
    • setText

      void setText(String text)

      setText.

      Parameters:
      text - a String object.
    • getType

      String getType()

      getType.

      Returns:
      a String object.
    • setType

      void setType(String type)

      setType.

      Parameters:
      type - a String object.