More than 1 row in <Input type=“textarea” />

后端 未结 4 1454
-上瘾入骨i
-上瘾入骨i 2020-12-25 09:23

I\'m having troubles getting my to have more than 1 row,

I tried adding the properties in the html, like you would do

4条回答
  •  春和景丽
    2020-12-25 10:04

    As said by Sparky in comments on many answers to this question, there is NOT any textarea value for the type attribute of the input tag.

    On other terms, the following markup is not valid :

    
    

    And the browser replaces it by the default :

    
    

    To define a multi-lines text input, use :

    
    

    See the textarea element documentation for more details.

提交回复
热议问题