Module jdk.xml.dom

Interface HTMLPreElement

All Superinterfaces:
Element, HTMLElement, Node

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

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

Since:
1.4, DOM Level 2
  • Method Details

    • getWidth

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

      void setWidth​(int width)