files/en-us/web/api/htmlpreelement/index.md
{{APIRef("HTML DOM")}}
The HTMLPreElement interface exposes specific properties and methods (beyond those of the {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating a block of preformatted text ({{HtmlElement("pre")}}).
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
long value reflecting the obsolete width attribute, containing a fixed-size length for the {{HTMLElement("pre")}} element.No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}