The textarea Element


« Previous Next »

The <textarea> element defines a multi-line input field (a text area):

 

 

The rows attribute specifies the visible number of lines in a text area.

The cols attribute specifies the visible width of a text area.

This is how the HTML code above will be displayed in a browser:







Live Demo & Try it yourself!