Interface HTMLLinkElement

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

public interface HTMLLinkElement extends HTMLElement
Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface.
  • Method Details

    • getAs

      String getAs()

      getAs.

      Returns:
      a String object.
    • setAs

      void setAs(String as)

      setAs.

      Parameters:
      as - a String object.
    • getCharset

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

      void setCharset(String charset)

      setCharset.

      Parameters:
      charset - a String object.
    • getCrossOrigin

      String getCrossOrigin()

      getCrossOrigin.

      Returns:
      a String object.
    • setCrossOrigin

      void setCrossOrigin(String crossOrigin)

      setCrossOrigin.

      Parameters:
      crossOrigin - a String object.
    • isDisabled

      boolean isDisabled()

      isDisabled.

      Returns:
      a boolean.
    • setDisabled

      void setDisabled(boolean disabled)

      setDisabled.

      Parameters:
      disabled - a boolean.
    • getHref

      String getHref()
      Sets or retrieves a destination URL or an anchor point.
      Returns:
      a String object.
    • setHref

      void setHref(String href)

      setHref.

      Parameters:
      href - 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.
    • getImageSizes

      String getImageSizes()

      getImageSizes.

      Returns:
      a String object.
    • setImageSizes

      void setImageSizes(String imageSizes)

      setImageSizes.

      Parameters:
      imageSizes - a String object.
    • getImageSrcset

      String getImageSrcset()

      getImageSrcset.

      Returns:
      a String object.
    • setImageSrcset

      void setImageSrcset(String imageSrcset)

      setImageSrcset.

      Parameters:
      imageSrcset - a String object.
    • getIntegrity

      String getIntegrity()

      getIntegrity.

      Returns:
      a String object.
    • setIntegrity

      void setIntegrity(String integrity)

      setIntegrity.

      Parameters:
      integrity - a String object.
    • getMedia

      String getMedia()
      Sets or retrieves the media type.
      Returns:
      a String object.
    • setMedia

      void setMedia(String media)

      setMedia.

      Parameters:
      media - 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

      void setRev(String rev)

      setRev.

      Parameters:
      rev - a String object.
    • getSizes

      DOMTokenList getSizes()

      getSizes.

      Returns:
      a DOMTokenList object.
    • getTarget

      @Deprecated String getTarget()
      Deprecated.
      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.
    • getType

      String getType()
      Sets or retrieves the MIME type of the object.
      Returns:
      a String object.
    • setType

      void setType(String type)

      setType.

      Parameters:
      type - a String object.
    • getSheet

      StyleSheet getSheet()
      getSheet().
      Returns:
      a StyleSheet object.