1. type : radio :控件单选框
checkbox : 控件复选框
2. value: 提供数据到服务器的值
3. name:为控件命名,以备后台程序ASP,PHP使用
4.checked: 当设置 checked = “checked”时,该选项被默认选中。
<!DOCTYPE HTML >
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
< title > 单选框、复选框 </ title >
</ head >
< body >
< form name = "iForm" method = "post" action = "save.php" >
你是否喜欢旅游? < br />
< input type = "radio" name = "radioLove" value = "喜欢" checked = "checked" /> </ span >
< input type = "radio" name = "radioLove" value = "不喜欢" />
< input type = "radio" name = 查看更多关于HTML5中form表单标签用法详解的详细内容...