The textarea element is used for accepting multiple lines of textual data from the user (including carriage-returns, tabs and space bar spaces). If you need a single line of input, use input type"text", If you need more than one line of input, use textarea.
- use for multiple lines of textual input
- do not include any character data inside the textarea element - not even a carriage return - white space in textarea does NOT collapse
- use CSS to resize text area to allow for better visibility of user input
- supports 30,000+ characters of data
Examine the source code of this document for more details.