Creating an HTML text field bigger than one line.

Issue

Creating an HTML text field bigger than one line.

Solution

When creating a text field, make sure that you have the ROWS=2 COLS=20 inside of the text field tag. Rows how many rows deep or how high you want the textarea and cols is how many columns you want the or how wide you want the textarea to be.

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

Example

Using the below example would create the below textarea box.

  • Category
  • HTML Q&A
  • Related pages
  • HTML Help
  • Solved?
  • Were you able to locate the answer to your question?