How to increase an input text and do automatic line wrapping

1

Hello, as you can see in the image, the input is larger than the part that I type the text and if I continue typing it does not break the line, what should I do ??

    
asked by anonymous 22.05.2015 / 22:03

1 answer

5

You can not. The only HTML element made to have multiple rows is <textarea> :

<textarea cols="30" rows="5"></textarea>

From HTML 5 you can use the wrap="hard" attribute to force automatic line wrapping.

    
22.05.2015 / 22:10