<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.input{
padding:5px;
}
.btn{background: #007aff;color: #fff;border:none;}
ul li{color:red;}
.item{color:#007aff;}
#item2{color:yellow;}
ul .item3 + li{
color:blue;
}
</style>
</head>
<body>
<form action="">
<div>
<label for="username">用户名</label>
<input class="input" type="text" id="username" name="username" placeholder="请输入用户名" autofocus required>
</div>
<div>
<label for="password">密 码</label>
<input class="input" type="password" id="password" name="password" placeholder="请输入密码" required>
</div>
<div>
<label for="email">邮 箱</label>
<input class="input" type="email" id="email" name="email" placeholder="请输入邮箱">
</div>
<div>
<label for="aihao">VIP</label>
<select name="aihao" id="aihao">
<option value="1" selected>普通会员</option>
<option value="2">至尊会员</option>
</select>
</div>
<div>
<label for="search">搜索</label>
<input type="search" name="search" id="search" placeholder="请输入关键词" list="datalist">
<datalist id="datalist">
<option value="html"></option>
<option value="js"></option>
<option value="jquery"></option>
<option value="mysql"></option>
<option value="php"></option>
</datalist>
</div>
<div>
<label for="man">性 别</label>
<input type="radio" checked name="radio" id="man" value="man"><label for="man">男</label>
<input type="radio" name="radio" id="woman" value="woman"><label for="women">女</label>
<input type="radio" name="radio" id="noman" value="noman"><label for="noman">人妖</label>
</div>
<div>
<label for="xq">兴趣</label>
<input type="checkbox" name="checkbox[]" id="meinv" value="1"><label for="meinv">美女</label>
<input type="checkbox" name="checkbox[]" id="video" value="2"><label for="video">电影</label>
<input type="checkbox" name="checkbox[]" id="lvyou" value="3"><label for="lvyou">旅游</label>
<input type="checkbox" name="checkbox[]" id="game" value="4"><label for="game">游戏</label>
</div>
<div>
<button type="submit" class="btn">注册</button>
</div>
</form>
<div>
<ul>
<li class="item">item1</li>
<li id="item2">item1</li>
<li class="item3">item1</li>
<li>item1</li>
<li>item1</li>
</ul>
</div>
</body>
</html>