<inputtype=“text”/>中的多行输入我有一种形式的文本输入:<input type="text"
cols="40"
rows="5"
style="width:200px; height:50px;"
name="Text1"
id="Text1"
value="" />我试图让它采取多行输入。宽度和高度使方框变大,但是用户可以输入他想输入的所有文本,但它只填充一行。如何使输入更像文本区域?
3 回答

慕的地8271018
TA贡献1796条经验 获得超4个赞
<textarea name="Text1" cols="40" rows="5"></textarea>

慕尼黑8549860
TA贡献1818条经验 获得超11个赞
<textarea name="textarea" style="width:250px;height:150px;"></textarea>
- 3 回答
- 0 关注
- 420 浏览
添加回答
举报
0/150
提交
取消