2-7练习
来源:2-7 编程练习
qq_紾悕_1
2019-03-11 13:44:14
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>date pickers</title>
</head>
<body>
<!-- 在此完成任务 -->
<form>
<p>姓名:<input type="text" name="username"></p>
<p>性别:<input type="radio" name="sex" value="man" checked ="checked">男
<input type="radio" name="sex" value="woman">女
</p>
<p>出生日期:<input type="date" name="date"></p>
<p>出生月份:<input type="month" name="month"></p>
<p>出生周数:<input type="week" name="week"></p>
<input type="button" name="button" value="提交">
</form>
</body>
</html>
1回答
你好,要求表单要有提交效果,可以将button类型改为submit,如下:
祝学习愉快!
相似问题