You are here : htmlHTML 5textarea

<textarea> - HTML 5

The <textarea> tag defines a multi-line text input control.

A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier).

The size of a text area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties.


Syntax

    <textarea rows="4" cols="50">      At w3schools.com you will learn how to make a website. We offer free 	tutorials in all web development technologies.       </textarea>


Example

    <textarea rows="4" cols="50">      At w3schools.com you will learn how to make a website. We offer free 	tutorials in all web development technologies.       </textarea>


Output / Return Value


Limitations


Alternatives / See Also


Reference