Interface HTMLAreaElement

All Superinterfaces:
Element, EventTarget, HTMLElement, HTMLHyperlinkElementUtils, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode

public interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils
Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements.
  • Method Details

    • getAlt

      String getAlt()
      Sets or retrieves a text alternative to the graphic.
      Returns:
      a String object.
    • setAlt

      void setAlt(String alt)

      setAlt.

      Parameters:
      alt - a String object.
    • getCoords

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

      void setCoords(String coords)

      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.
    • isNoHref

      @Deprecated boolean isNoHref()
      Deprecated.
      Sets or gets whether clicks in this region cause action.
      Returns:
      a boolean.
    • setNoHref

      void setNoHref(boolean noHref)

      setNoHref.

      Parameters:
      noHref - a boolean.
    • 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()

      getRel.

      Returns:
      a String object.
    • setRel

      void setRel(String rel)

      setRel.

      Parameters:
      rel - a String object.
    • getRelList

      DOMTokenList getRelList()

      getRelList.

      Returns:
      a DOMTokenList object.
    • getShape

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

      void setShape(String shape)

      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.