Name

<PLAINTEXT> — NN all IE all HTML <4

Synopsis

<PLAINTEXT>...</PLAINTEXT>

End Tag: Optional

The PLAINTEXT element displays its content in a monospace font as a block element, but with a twist. All document source code coming after the start tag is rendered as-is in the browser window. You cannot turn off the PLAINTEXT element. Even the end tag is rendered as-is. This element has been long deprecated in HTML and has even been removed from the HTML 4.0 specification. You are encouraged to use the PRE element instead.

Specifying any element attribute in Internet Explorer 4 for the Macintosh causes the PLAINTEXT element to be ignored. In other words, the source code is rendered and the attribute is applied to the content contained by the element if applicable (such as a style sheet rule).

Example

<P>The rest of the HTML code follows:</P>
<PLAINTEXT>
...
</HTML>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CLASS

LANG

LANGUAGE

STYLE

TITLE

ID

    

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

4

n/a

onDblClick

n/a

4

n/a

onDragStart

n/a

4

n/a

onHelp

n/a

4

n/a

onKeyDown

n/a

4

n/a

onKeyPress

n/a

4

n/a

onKeyUp

n/a

4

n/a

onMouseDown

n/a

4

n/a

onMouseMove

n/a

4

n/a

onMouseOut

n/a

4

n/a

onMouseOver

n/a

4

n/a

onMouseUp

n/a

4

n/a

onSelectStart

n/a

4

n/a

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.