How to create an HTML text field bigger than one line

Updated: 05/21/2018 by Computer Hope

HTMLWhen creating a text field, make sure that you have the ROWS=X COLS=x inside of the text field tag. Where "X" is the value of how many rows tall or how many columns wide you want the textarea to be.

In the example code below, we have made a text field that is 2 rows tall and 20 columns wide.

<TEXTAREA Name="content" ROWS="2" COLS="20"></TEXTAREA>


Using the above example would create the below textarea box.

Additional information