org.w3c.dom.html2

Interface HTMLPreElement

All Superinterfaces:
Element, HTMLElement
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 Summary

int
getWidth()
Fixed width for content.
void
setWidth(int width)
Fixed width for content.

Methods inherited from interface org.w3c.dom.html2.HTMLElement

getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Method Details

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.