html代码制作QQ邮箱
时间: 2023-09-01 13:07:58 浏览: 78
以下是制作QQ邮箱登录页面的HTML代码示例:
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>QQ邮箱登录</title>
<style>
/* CSS 样式 */
body {
background-color: #F5F5F5;
font-family: Arial, sans-serif;
}
.container {
margin: 0 auto;
width: 400px;
background-color: #FFFFFF;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
h1 {
text-align: center;
font-size: 28px;
}
form {
margin-top: 20px;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
border-radius: 3px;
border: none;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) inset;
margin-bottom: 20px;
font-size: 16px;
}
input[type="submit"] {
background-color: #3897F0;
color: #FFFFFF;
border: none;
padding: 10px;
font-size: 16px;
border-radius: 3px;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
input[type="submit"]:hover {
background-color: #357AE8;
}
</style>
</head>
<body>
<div class="container">
<h1>QQ邮箱登录</h1>
<form>
<label for="email">邮箱</label>
<input type="text" id="email" name="email" placeholder="请输入邮箱">
<label for="password">密码</label>
<input type="password" id="password" name="password" placeholder="请输入密码">
<input type="submit" value="登录">
</form>
</div>
</body>
</html>
```
你可以将以上代码保存为一个 .html 文件,用浏览器打开即可看到QQ邮箱登录页面。
相关推荐
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)