The textarea tag

In this section, you will learn about the textarea tag of Spring form tag library.

The textarea tag

In this section, you will learn about the textarea tag of Spring form tag library.

A text area can hold an unlimited number of characters. The <textarea> tag defines a multi-line text input control.

The textarea tag of Spring form tag library renders an HTML 'textarea'. Sample code is shown below :

<tr>
	<td>Comment:</td>
	<td><form:textarea path="comment" rows="3" cols="20" /></td>
</tr>

This will render the following HTML :

<tr>
	<td>Comment:</td>
	<td><textarea rows="3" cols="20"></textarea></td>
</tr>

 

Advertisements

Share on Google+Share on Google+

The textarea tag

Posted on: March 22, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

Discuss: The textarea tag  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads