Creating a large textbox to get a paragraph input
html, java, jsp, textbox
Solution
You need to use textarea
<textarea name="paragraph_text" cols="50" rows="10"></textarea>
Required Attributes
- rows is used to define the number of viewable rows.
- cols is used to specify the number of viewable columns.
Problem
I want to make an user enter a paragraph in a jsp page, but the problem is, the jsp page only displays a regular size text box , which is too small to enter a paragraph. What i mean is i want to display a large text box in the jsp page so that the user can enter text in to it. For example like this one : How do i make a small text box as big as the above example? Thank you for your time.