Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What field TYPE for textarea's?

Tags:

People also ask

What is input type for textarea?

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).

What is the data type for textarea in mysql?

TEXT is the family of column type intended as high-capacity character storage. The actual TEXT column type is of four types-TINYTEXT, TEXT, MEDIUMTEXT and LONGTEXT. The four TEXT types are very similar to each other; the only difference is the maximum amount of data each can store.

Does textarea have type attribute?

The <textarea> element does not have a type attribute. The HTML <textarea> element represents a multi-line plain-text editing control, and is useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.


I have a form where clients will be typing a few paragraphs in various textarea's. Should I choose varchar or text for field type? Does it matter?

Thanks.

Erik