Introduction to <plaintext>tag

The <plaintext>tag in HTML is an interesting but obsolete element that is rarely used in modern web development. It was originally designed to display text in a web browser exactly as it is written, including all HTML tags and special characters. This means that everything following the <plaintext>tag on a webpage would be rendered as plain text, ignoring all other HTML formatting or tags that come afterward. Essentially, it treats all subsequent content as literal text, not as HTML code.

Warning: The <plaintext>tag is obsolete and no longer part of the HTML standard. It was used to display content as plain text, treating all subsequent content on the page as unformatted text, including HTML tags. This behavior is unpredictable and not supported by modern web browsers, leading to potential security risks and poor user experience.

Deprecated: This feature is no longer recommended for use but while some browsers might still support it but it may have already been removed from web standards or it could be in the process of being phased out, it might only be retained for compatibility with older web projects and it's advisable to avoid using this feature and update your existing code wherever possible, refer to the compatibility table below for guidance and keep in mind that the feature may stop functioning in the future.

HTML AttributesGlobal AttributesEvent Attributes
To view the full list
To view the full list
To view the full list
elementsChrome BrowsersMicrosoft Edge BrowserFirefox BrowsersSafari BrowserOpera Browser
<plaintext>NoNoNoNoNo