Legacy & Obsolete Elements

<plaintext>

Build a form with the HTML form generator

Obsolete or historical HTML; do not use in new documents. Switched the HTML parser into a plain-text mode that consumes the remainder of the input; even an apparent end tag is text. Use pre and escape ampersands and less-than signs instead. The syntax shows old markup for recognition only. The runnable example demonstrates a modern migration pattern, not the obsolete behavior.

Formal Syntax & Structure

html syntaxhtml
<plaintext>  Literal text

Working Example

Example Snippethtml
<pre>&lt;h1&gt;Literal text&lt;/h1&gt;</pre>
HTML Reference