Tutorials Point


  HTML Home

  HTML Tags Reference
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

HTML <plaintext> tag




Advertisements

Function:

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.

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

Difference between HTML and XHTML:

This tag is deprecated in HTML as well as in XHTML.

Example:

<plaintext / >
Now all the following lines will be displayed as
they are written here....
( This is title )
This is description......

More description goes here...

Online Practice:

To Become more comfortable - Do Online Practice


Printer Friendly

Advertisements


  

Advertisements