猿问
用DIV+CSS实现表单form布局实例
现在要做一个客户意见反馈的页面,有单选按钮,复选按钮,文本框等。对于这个本人属于菜鸟级别,所以请大神写的详细写,最好能够有文字说明,谢谢。
204222
浏览 1881
回答 1
1回答
慕粉6599955
<!-- 单选 --> <form action="" method="get"> 单选 <br> <label><input name="danxuan" type="radio" value="" />A </label> <label><input name="danxuan" type="radio" value="" />B </label> <label><input name="danxuan" type="radio" value="" />C </label> <label><input name="danxuan" type="radio" value="" />D </label> <label><input name="danxuan" type="radio" value="" />E </label> </form> <!-- 复选 --> <form action="" method="get"> 复选 <br> <label><input name="fuxuan" type="checkbox" value="" />A </label> <label><input name="fuxuan" type="checkbox" value="" />B </label> <label><input name="fuxuan" type="checkbox" value="" />C </label> <label><input name="fuxuan" type="checkbox" value="" />D </label> </form> <!-- 文本框 --> <form action='' method='post'> 文本框:<input type='text' name='text'> <input type='submit' value='提交',name='sub'> </form>
0
0
0
随时随地看视频
慕课网APP
相关问题
为什么字体颜色在Eclipse上没有变化
2 回答
相关分类
Html/CSS
为什么字体颜色在Eclipse上没有变化
2 回答
我要回答