The major difference between a textarea and a text field ( ), is that a text field only has one line, whereas a textarea usually has multiple lines. TextBox: the input element defines an input field. A TextBox is created by specifying the type attribute to "text".