简单的注册界面

<html>
<head>
<title>注册</title>
</head>
<body>
<h1>请进行注册!</h1>
</body>
<form action="" method="get" class="form-example">
<div class="form-example">
<label for="name">请输入你的名字: </label>
<input type="text" name="name" id="name" required>
</div>
<div class="form-example">
<label for="email">请输入你的邮箱: </label>
<input type="email" name="email" id="email" required>
</div>
<div class="search-control">
<input type="search" id="site-search" name="q"
placeholder="Search the site..."
aria-label="Search through site content">
<button>Search</button>
</div>
<div>
<label for="party-time">Date/time:</label>
<input type="datetime-local" id="party-time"
name="party-time" value="2018-06-12T19:30"
min="2018-06-07T00:00" max="2018-06-14T00:00" />
</div>
你的性别:<br>
<input type="radio" name="NAME" value="x">男<br>
<input type="radio" name="NAME" value="x">女<br>
你的爱好:<br>
<input type='checkbox' name='VoteOption1' value=1>运动<br>
<input type='checkbox' name='VoteOption1' value=2>旅游<br>
<input type='checkbox' name='VoteOption1' value=3>烹饪<br>
</form>
<div class="form-example">
<input type="reset" value="Reset" />
<input type="submit" value="注册提交">
</div>
</html>

猜你喜欢

转载自www.cnblogs.com/tigerqaq/p/9657189.html
今日推荐