摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>小米</title> <link rel="shortcut icon" type="image/x
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>小米</title>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.icon">
<link rel="stylesheet" type="text/css" href="css/index.css">
<style type="text/css">
input{height: 8px;width: 258px;border: 1px solid #ccc;margin-top:20px; padding: 20px;}
button{height: 50px;width: 300px;margin-top:20px; background:#FF6A00;border: none;color: #fff;}
</style>
</head>
<body>
<form method="get/post" action="url地址">
<input type="text" name="username" placeholder="请输入用户名"><br>
<input type="password" name="pwd" placeholder="请输入密码"><br>
<button>登录</button>
</form>
</body>
</html>
批改老师:天蓬老师批改时间:2018-12-03 13:46:55
老师总结:边框可以设置宽度, 样式和颜色,比内外边距要复杂的多,也有趣的多