Interface HTMLMetaElement

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

public interface HTMLMetaElement extends HTMLElement
Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.
  • Method Details

    • getContent

      String getContent()
      Gets or sets meta-information to associate with httpEquiv or name.
      Returns:
      a String object.
    • setContent

      void setContent(String content)

      setContent.

      Parameters:
      content - a String object.
    • getHttpEquiv

      String getHttpEquiv()
      Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
      Returns:
      a String object.
    • setHttpEquiv

      void setHttpEquiv(String httpEquiv)

      setHttpEquiv.

      Parameters:
      httpEquiv - a String object.
    • getName

      String getName()
      Sets or retrieves the value specified in the content attribute of the meta object.
      Returns:
      a String object.
    • setName

      void setName(String name)

      setName.

      Parameters:
      name - a String object.
    • getScheme

      @Deprecated String getScheme()
      Deprecated.
      Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
      Returns:
      a String object.
    • setScheme

      void setScheme(String scheme)

      setScheme.

      Parameters:
      scheme - a String object.