org.w3c.dom.html2

Interface HTMLPreElement

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 Summary
intgetWidth()
Fixed width for content.
voidsetWidth(int width)
Fixed width for content.

Method Detail

getWidth

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

setWidth

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