李木子5年前
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>表单</title>
<style>
p{
font-size:16px;
font-weight:bold;
}
input{
height:8px;
width:128px;
margin-top:0px;
border: 1px solid #ccc;
padding:10px;
}
[name="but"]{
margin-top:15px;
width:150px;
height:30px;
background:#FC0;
color:#FFF;
}
</style>
</head>
<body>
<form method="post" action="#">
<p>用户名</p>
<input type="text" name="user" placeholder="请输入用户名" >
<p>密码</p>
<input type="password" name="pass" placeholder="请输入密码" ><br>
<input type="button" name="but" value="提交">
</form>
</body>
</html>
0