Preformatted Text in Html


In Html we can include Preformatted text by using "PRE" Tag.


Step 1.

Open Notepad and type the given Html code

<HTML>

<HEAD>

<TITLE> Preformatted Text In Html </TITLE>

</HEAD>

<BODY>


<PRE>



*** ********** ******* * * *
* * * * * * * *
* * *
* * * * * *
***** * ******
* * * * * *
* * *
* * * * * *
*** *** ******** * * *


</PRE>

</BODY>

</HTML>



Step 2.

Save the file with ".html" or ".htm" format.



Output:




www.itechtalk.com