The textarea tag

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

The textarea tag

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>