注册页面

时间:2020-05-12
本文章向大家介绍注册页面,主要包括注册页面使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>注册页面</h1>
<form action="http://127.0.0.1:5000/index/" method="post" enctype="multipart/form-data">
<p>
<label for="d1">username:<input type="text" id="d1" name="username"></label>
</p>
<p>
<label for="d2">password:<input type="password" id="d2" name="password"></label>
</p>
<p>birthday:
<input type="date">
</p>
<p>gender:
<input type="radio" name="gender" checked value="male">男
<input type="radio" name="gender" value="female">女
<input type="radio" name="gender" value="others">其他
</p>
<p>hobby:
<input type="checkbox" name="hobby" value="basketball">篮球
<input type="checkbox" checked name="hobby" value="football">羽毛球
<input type="checkbox" name="hobby" value="doublecolorball">双色球
</p>
<input type="submit" value="注册">
<input type="reset" value="重置">
</form>
</body>
</html>

原文地址:https://www.cnblogs.com/0B0S/p/12878273.html