How to render the remainder of the document as preformatted plain text in HTML?

The HTML <plaintext> tag is used to render all text in the document exactly as it was typed in, including all tags and even the document tags.

This tag ignores all formatting for the rest of the document, displaying all text exactly as is. It cannot be stopped, it cannot be turned off. It is deprecated because it messes up the balance of the document tags.

Note − The <plaintext> tag is now deprecated. Do not use it.