Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     

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
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

Share this article   |    Print    |    Article read by 3701 times
Rohit kakria
I am software developer, moderator of
Related Articles: No related article
Related Interview Questions: No related interview question