写一个表单登录的网页代码

```html<!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title。下面小编给大家分享写一个表单登录的网页代码,希望能帮助到大家。 写一个表单登录的网页代码文档下载网址链接:
推荐度:
点击下载完整版文档为doc格式

写一个表单登录的网页代码

```html
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录表单</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.container {
width: 300px;
padding: 16px;
background-color: white;
border: 1px solid #ccc;
margin: 50px auto;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
button:hover {
opacity: 0.8;
}
</style>
</head>
<body>
<div class="container">
<label for="uname"><b>用户名</b></label>
<input type="text" placeholder="输入用户名" name="uname" required>

<label for="psw"><b>密码</b></label>
<input type="password" placeholder="输入密码" name="psw" required>

<button type="submit">登录</button>
</div>
</body>
</html>
```
直接下载
单次下载
0.5元/次
支付宝支付
2.免费下载(每天3次)
公众号:控分学霸复制
复制微信公众,搜索即可关注!
扫一扫关注公众号
欢迎使用微信支付
扫一扫支付
金额:
常见问题
预览文档
下载中心

您的账号注册成功!密码为:123456,当前为默认信息,请及时修改

下载文件立即修改

帮助中心

如何获取自己的订单号?

打开微信,找到微信支付,找到自己的订单,就能看到自己的交易订单号了。