Xpode.com        Click here to Print this article.

Pre tag in HTML

This tag is used for show the formatting of text(formatted text) means preformatting text. We will format the text in specific shape or design on browser. Then we will pace the text in this tag.

Syntax :


Sr No. Websites
1 www.google.com
2 www.microsoft.com
3 www.xpode.com
It will have output:

Pre Tag Image

If we will not use this tag the output will not be in formatted form. Output without tag will be :

Without Pre Tag Image


Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com

Resourse address on xpode.com

Click here to go on website