Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The <plaintext>
HTML element renders everything following the start tag as raw text, ignoring any following HTML. There is no closing tag, since everything after it is considered raw text.
Warning: Do not use this element.
<plaintext>
is deprecated since HTML 2, and not all browsers implemented it. Browsers that did implement it didn't do so consistently.<plaintext>
is obsolete; browsers that accept it may instead treat it as a <pre>
element that still interprets HTML within.<plaintext>
is the first element on the page (other than any non-displayed elements, like <head>
), do not use HTML at all. Instead serve a text file with the text/plain
MIME-type.<plaintext>
, use the <pre>
element or, if semantically accurate (such as for inline text), the <code>
element. Escape any <
, >
and &
characters, to prevent browsers inadvertently parsing the element content as HTML.font-family
style with the monospace
generic value.This element has no other attributes than the global attributes common to all elements.
DOM interfaceThis element implements the HTMLElement
interface.
<pre>
and <code>
elements, which should be used instead.<xmp>
element, also obsolete, similar to <plaintext>
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4