Interface HTMLTitleElement

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

public interface HTMLTitleElement extends HTMLElement
Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface.
  • Method Details

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