某.aspx文件中含有Label 、TextBox、CheckBox、RadioButton、 DropDownList、RadioButtonList Web控件,该页面运行所生成的HTML源代码中,原先的Web控件标记均被转换为HTML元素。
- Label控件标记转换为span元素;
- CheckBox控件标记转换为input元素,其type属性是checkbox;
- RadioButton控件标记转换为input元素,其type属性是radio;
- TextBox控件标记转换为input元素,其type属性是text;
- DropDownList控件标记转换为select元素;
- RadioButtonList控件的标记转换为一个嵌入在table元素中的input元素 。