Interface HTMLPreElement

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

public interface HTMLPreElement extends HTMLElement
Exposes specific properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>).
  • Method Details

    • getWidth

      @Deprecated double getWidth()
      Deprecated.
      Sets or gets a value that you can use to implement your own width functionality for the object.
      Returns:
      a double.
    • setWidth

      void setWidth(double width)

      setWidth.

      Parameters:
      width - a double.