HTML <textarea> Tag

314    Share

The textarea element using CSS


You can also define the size of the text area by using CSS:


Live Demo & Try it yourself! Read More » »

The textarea Element


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! Read More » »