<!--- This shows ParagraphFormat --->

<HTML>

<HEAD>
<TITLE>
ParagraphFormat Example
</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">

<H3>ParagraphFormat Example</H3>

<P>Enter some text into this textarea, and
see it returned as HTML.

<CFIF IsDefined("form.myTextArea")>

<P>Your text area, formatted
<P><CFOUTPUT>#ParagraphFormat(form.myTextArea)#</CFOUTPUT>

</CFIF>

<!--- use #Chr(10)##Chr(13)# to simulate a line feed/carriage
return combination; i.e, a return --->
<FORM ACTION="paragraphformat.cfm" METHOD="POST">
<TEXTAREA NAME="MyTextArea" COLS="35" ROWS=8>
This is sample text and you see how it scrolls<CFOUTPUT>#Chr(10)##Chr(13)#</CFOUTPUT>
From one line <CFOUTPUT>#Chr(10)##Chr(13)##Chr(10)##Chr(13)#</CFOUTPUT> to the next
</TEXTAREA>

<INPUT TYPE="Submit" NAME="show me the html version">
</FORM>

</BODY>

</HTML>       
