Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add a linebreak in an HTML text area

Tags:

html

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

like image 570
Nimesh Madhavan Avatar asked Sep 15 '08 20:09

Nimesh Madhavan


People also ask

How do you insert a linebreak in HTML?

The <br> tag inserts a single line break. The <br> tag is useful for writing addresses or poems. The <br> tag is an empty tag which means that it has no end tag.

How do you insert a linebreak?

Press ALT+ENTER to insert the line break.

Can we use DIV inside textarea?

No, it is not possible(it will not render the UI).


1 Answers

If it's not vb you can use &#013;&#010; (ascii codes for cr,lf)

like image 135
jonas Avatar answered Sep 24 '22 19:09

jonas