Multiline Textboxes - The textarea tag

Sometimes you need to give the visitor the opportunity to enter more than just a few characters and this is what the <textarea> element is for.

Just as you can define the length of a text input field you have the option to change the size of you textarea using the attributes rows and cols (abbreviation of the word column).

For this example I've chosen a textarea which is 25 columns wide and 7 rows high.

<form method="post">
	<textarea cols="25" rows="7"></textarea> 
	<br />
	<input type="submit" value="Submit now" />