文本区域中的新行<textarea cols='60' rows='8'>This is my statement one.\n This is my statement2</textarea>
<textarea cols='60' rows='8'>This is my statement one.<br/> This is my statement2</textarea>我尝试了这两种方法,但是在呈现html文件时,新行没有反映出来。我怎么能这么做?
3 回答
- 3 回答
- 0 关注
- 393 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消