常用的表单元素

表单元素
一共12个
分三大类

文本类
<input type="text" />
<input type="password" />
<textarea></textarea>
<input type="hidden" />

按钮类
<input type="button" />
<input type="reset" />

<input type="submit" />
<input type="image" />

选择类
<input type="radio" id="i" /><label for="i">aaa</label>
<input type="checkbox" />
<select>
<option></option>
</select>
<input type="file" />

简单控件:
Label
Literal
TextBox TextMode="" Visible="false"  Enabled="false"
HiddenFiled
Button
ImageButton

复合控件:
radio   radioButton  radioButtonList 单选
checkbox  checkbox   checkboxList 多选
select option  DropDownList  单选  ListBox 多选

posted on 2017-12-17 15:34  小败哥哥。  阅读(228)  评论(0编辑  收藏  举报

导航