用Java写一个电子邮件收发系统的登录html代码
时间: 2024-01-30 11:01:33 浏览: 23
<!DOCTYPE html>
<html>
<head>
<title>电子邮件收发系统登录</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="text-center mb-4">电子邮件收发系统</h2>
<form action="login.php" method="post">
<div class="form-group">
<label for="email">电子邮件地址:</label>
<input type="email" class="form-control" id="email" placeholder="请输入电子邮件地址" name="email" required>
</div>
<div class="form-group">
<label for="password">密码:</label>
<input type="password" class="form-control" id="password" placeholder="请输入密码" name="password" required>
</div>
<button type="submit" class="btn btn-primary btn-block">登录</button>
</form>
<div class="text-center mt-3">
<a href="register.html">注册新账户</a>
</div>
</div>
</div>
</div>
</body>
</html>