-2

Given the tag

<input type = "text">

I want to increase the height of that element so users can type a lot more.

However, when I change the height of the input, the text still appears in the middle and doesn't go top left to bottom right (the standard way text goes). How do I solve this issue?

clearlight
  • 12,255
  • 11
  • 57
  • 75
Jcfg.J
  • 101
  • 9

1 Answers1

3

An input will only be one line high. What you're looking for is a textarea.

textarea {
  width: 200px;
  height: 200px;
}
<textarea></textarea>
clearlight
  • 12,255
  • 11
  • 57
  • 75
Michael Coker
  • 52,626
  • 5
  • 64
  • 64