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.
The <textarea> tag defines a multi-line text input control. The <textarea> element is often used in a form, to collect user inputs like comments or reviews. A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier).
The HTML <textarea> is a tag used within a form to declare a multiline textbox that allows the user to input text over multiple lines.
The height of a textbox of input tag can be increased by using its style property. In style, we have to give a property of height and after this we have to give a required value to its height attribute. So, that the height may increase according to your choice.
You need to use textarea
<textarea name="paragraph_text" cols="50" rows="10"></textarea>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With