码迷,mamicode.com
首页 > 其他好文 > 详细

textarea

时间:2016-11-11 23:12:52      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:class   尺寸   view   宽度   sage   bag   多行   文本   span   

<textarea id = "area1" cols="100" rows="20" style="width: 475px;">@ViewBag.HomeMessage</textarea>

<textarea> 标签定义多行的文本输入控件。
可以通过 cols 和 rows 属性来规定 textarea 的尺寸,不过更好的办法是使用 CSS 的 height 和 width 属性。
cols 规定文本区内的可见宽度。
rows 规定文本区内的可见行数。
style 是css代码

textarea

标签:class   尺寸   view   宽度   sage   bag   多行   文本   span   

原文地址:http://www.cnblogs.com/chrisghb8812/p/6055761.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!