Interface HTMLPreElement

All Superinterfaces:
Element, HTMLElement, Node
All Known Implementing Classes:
HTMLPreElementImpl

public interface HTMLPreElement extends HTMLElement
Preformatted text. See the PRE element definition in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

  • Method Details

    • getWidth

      int getWidth()
      Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
    • setWidth

      void setWidth(int width)
      Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.