HTML <plaintext> Tag

Advertisements


Description

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.

Example:

<!DOCTYPE html>
<html>
<head>
<title>HTML plaintext Tag</title>
</head>
<body>

</body>
</html>

Browser Support

This tag is available in Netscape 4 and higher version only.

ChromeFirefoxIEOperaSafariAndroid
NoNoNoNoNoNo

html_tags_reference.htm