Share on Google+Share on Google+

The textarea tag

Advertisement
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

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

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: The textarea tag  

Post your Comment


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