Add a linebreak in an HTML text area

How can i add a line break to the text area in a html page? i use VB.net for server side coding.


Solution 1:

If it's not vb you can use 
 (ascii codes for cr,lf)

Solution 2:

Add a linefeed ("\n") to the output:

<textarea>Hello


Bybye</textarea>

Will have a newline in it.

Solution 3:

You could use \r\n, or System.Environment.NewLine.